Examples of code, written in Swift, for iOS8