Learn Swift 2 on the Mac (2nd Ed., 2nd ed.)
For OS X and iOS

Author:

Language: English
Cover of the book Learn Swift 2 on the Mac

Subject for Learn Swift 2 on the Mac

40.08 €

In Print (Delivery period: 15 days).

Add to cartAdd to cart
Publication date:
232 p. · 17.8x25.4 cm · Paperback

If you are an iOS developer or planning to become one, learning Swift 2 is your #1 priority, and this book tells you everything you need to get up to speed, well, swiftly.

You'll start with the Swift Playground and an introduction to object-oriented programming so you can immediately see Swift in action. You then learn about all of the key language features like functions and closures, classes, methods, extensions, and how Swift works just as well as Objective-C when it comes to easy memory management with ARC.

Finally you'll learn how to use Swift alongside Objective-C as well as with Core Data, and you'll learn how to put all of the pieces together with a health app using Apple's HealthKit framework.

1. Hello Swift.- 2. The Swift Playground in Xcode.-  6. Accessing Swift’s Compiler and Interpreter: REPL.- 4. Introduction to Object-Oriented Programming.- 5. Constants, Variables, and Data Types.- 6. Operators.- 7. Flow Control.- 8. Functions and Closures.- 9. Classes and Structures.- 10. Methods.- 11. Access Control.- 12. Inheritance.- 13. Extensions.- 14. Memory Management and ARC.- 15. Protocols.- 16. Generics.- 17. Expressions.- 18. Interoperability with Objective-C.- 19. Mix and Match.- 20. Working with Core Data.- 21. Consuming RESTful Services.- 22. Bringing it All Together.

Waqar Malik is a UNIX nerd and Macintosh fan, and has been for long time. He has been helping developers with Cocoa and UNIX since the early days of OS X, and now with iOS. He consults, and writes Cocoa apps for his own company, Crimson Research.
Covers object-oriented basics with Swift and the Swift Playground Shows readers how to use key language features like functions and classes in Swift Shows readers how to mix and match Swift and Objective-C