Mastering Swift

Mastering Swift

4.11 - 1251 ratings - Source

Swift is Apple's new innovative and user-friendly development language, which is packed with modern features to make programming easier, fun, and flexible. This book begins by giving you a solid Introduction to the Swift programming language so you can quickly begin developing applications using this interesting language. It also covers advanced topics such as Objective-C interoperability, ARC, closures, and concurrency. Each concept covered is backed up with example code and demonstrates how to properly execute it. Next, you will be taught about all of the advanced features of Swift, and its interaction with Apple's APIs and libraries. You'll then learn to interact with REST-based web services using Swift. We will conclude the book by getting equipped to design and build applications using established design patterns.The RemoteControl protocol defines one property and five methods. ... are as follows: class VizioTV: TV { var currentChannel = 1 func turnOn() { println(aquot;Vizio Onaquot;) } func turnOff() { println(aquot;Vizio Offaquot;) } ... currentChannel = channel } } With this code, we define both the SonyTV and the VizioTV implementations of the TV protocol.

Title:Mastering Swift
Author:Jon Hoffman
Publisher:Packt Publishing Ltd - 2015-06-29


You Must CONTINUE and create a free account to access unlimited downloads & streaming