Swift for the Really Impatient

Swift for the Really Impatient

4.11 - 1251 ratings - Source

Swift for the Really Impatient is the perfect jumpstart to the Swift language for every experienced Objective-C developer. Leading iOS and OS X developers Matt Henderson and Dave Wood help you take full advantage of Swifta€™s powerful innovations, without wasting time on basics you already know. Through expert code examples and crystal-clear explanations, Henderson and Wood reveal how Swift features improve on Objective-C and show how to make the most of them. Youa€™ll quickly master a€œSwift-era€ techniques for using objects, classes, optionals, generics, functions, closures, and more. Each chapter includes hands-on exercises designed to reinforce and deepen your skills. Youa€™ll learn how to re-implement common Objective-C programming solutions in Swift, improving code clarity, power, and performance on both desktop and mobile devices. And, because you probably wona€™t (or cana€™t) abandon Objective-C anytime soon, youa€™ll discover how to use both languages together, smoothly integrate Swift into existing projects and workflows, and gradually move your current code base into the future. Coverage includes Using Swifta€™s new patterns and concise, expressive syntax to produce safer, more reliable code Leveraging the surprising power of Swifta€™s data structures Utilizing Swifta€™s type system to help prevent errors common in other languages Using optionals to correctly handle invalid, missing, or unknown values Implementing generics to reduce duplication, improve power, and simplify maintenance Interacting with C and Objective-C APIs Abstracting functionality for reusable code while maintaining type safety Isolating code in clean, flexible, low-overhead closures Combining Swift with Objective-C in the same project Avoiding gotchas when importing Objective-C classes in Swift projects Nesting types to improve code clarity Creating shared objects with singletons Managing threading and concurrency with Swifta€™s advanced Grand Central Dispatch (GCD) patterns... can add semantic value to the tuple in the function declaration, and when you use the result, you have easy-to-read code. ... -9, 4, -3, 2] sort(aamp;numbers, { (lhs: Int, rhs: Int) -agt; Bool in return abs(lhs) alt; abs(rhs) }) println(numbers) //prints: [2, -3, 4, anbsp;...

Title:Swift for the Really Impatient
Author: Matt Henderson, Dave Wood
Publisher:Addison-Wesley Professional - 2014-12-12

You must register with us as either a Registered User before you can Download this Book. You'll be greeted by a simple sign-up page.

Once you have finished the sign-up process, you will be redirected to your download Book page.

How it works:
  • 1. Register a free 1 month Trial Account.
  • 2. Download as many books as you like (Personal use)
  • 3. Cancel the membership at any time if not satisfied.

Click button below to register and download Ebook
Privacy Policy | Contact | DMCA