Story of a snippet: manipulating strings and more with Swift

Posted on Leave a commentPosted in Snippets

Swift is a new programming language for iOS and OS X app development, combining many parts, types and concepts of C and Objective-C languages. In this post we will have a quick look of some basic concepts like manipulating strings, declaring and looping arrays, using switches for checking conditions. We want to thank our user marksimon232 for […]

Story of a snippet: how to avoid complicated “IF” statements

Posted on Leave a commentPosted in Snippets

Today we want to focus on the very nice snippet proposed by our user Miklós Prisznyák (mprisznyak): “how to avoid complicated “IF” statements”. The snippet code is available at the following link. As you can see, Miklós provides an effective and good programming technique example to avoid too many nested and complicated “IF” statements. In a typical […]