When writing code in Swift, it is not uncommon to want to repeat the execution of a set of statements. Controlling the position of different characters in a game, looping through the photos in a library, looping over a list of tweets – they all require re-executing the same set of statements multiple times. In […]
Issue 21 – 26th January 2016
Swift Developments is a hand-curated newsletter containing a weekly selection of the best links, videos, tools and tutorials for people interested in designing and developing their own apps using Swift. Comment Hi! Welcome to another issue of the AndyBargh.com newsletter! This week I’ve got some great new new links and articles from around the iOS […]
Lifetime, Scope and Namespaces in Swift
In this article, we are going to look at the different options we have available in Swift for organising our code before looking at the closely related concepts of lifetime, scope and namespaces.
Issue 20 – 19th January 2016
Swift Developments is a hand-curated newsletter containing a weekly selection of the best links, videos, tools and tutorials for people interested in designing and developing their own apps using Swift. Comment The big news of last week was the release of the iOS 9.3 Beta. The headline item is the inclusion of a brand new […]
Dictionaries in Swift
Arrays, dictionaries and sets make up the three main collection types in Swift. We’ve already talked about Arrays in a previous post, and in this article, we’re going to move on and look at the second of these collection types: Dictionaries.
Issue 19 – 12th January 2016
Everyone has obviously started the New Year with added enthusiasm as there has been a bunch of great articles published this week. These include details of the Swift 2.2 release process, lessons learnt from being featured on the App Store, how to use TCP sockets in Swift on Linux, how using FlowControllers can help reduce ViewController dependencies, how to create your first iOS Framework and some Swift one-liners to impress your friends along with a whole load more.