Apple Swift API - Sample Source Code
Swift from Apple is a programming language for Cocoa and Cocoa Touch. Swift code can work side-by side with Objective-C.
Swift is expressed in a clean syntax which means the APIs are easy to read and maintain. Modules provide namespaces and eliminate headers, the code is less prone to mistakes, and memory is managed automatically.