- Category: Computer
- Author: Anthony Gray
- Pages: 236 pages
- File type: PDF, ePub, and Mobi (Kindle)
Read and download free eBook intituled Swift Pocket Reference: Programming for iOS and OS X in format PDF, ePub, and Mobi (Kindle) – 236 pages created by Anthony Gray.
Get quick answers for developing and debugging applications with Swift, Apple’s multi-paradigm programming language. This pocket reference is the perfect on-the-job tool for learning Swift’s modern language features, including type safety, generics, type inference, closures, tuples, automatic memory management, and support for Unicode. Designed to work with Cocoa and Cocoa Touch, Swift can be used in tandem with Objective-C, and either language can call APIs implemented in the other.
Swift is still evolving, but Apple clearly sees it as the future language of choice for iOS and OS X software development. Topics include:Supported data types, such as strings, arrays, array slices, sets, and dictionariesProgram flow: loops, conditional execution, and error handlingClasses, structures, enumerations, and functionsProtocols, extensions, and genericsMemory managementClosures: similar to blocks in Objective-C and lambdas in C#.
Read and Download Links: