Book description
Swift is Apple's new, native, fast, and easy to learn programming language for iOS, watchOS, tvOS and OS X app development. It's their "Objective-C without the C". If you are an iOS developer or planning to become one, learning Swift is your #1 priority, and Learn Swift 2 on the Mac tells you everything you need to get up to speed, well, swiftly. The language is evolving very quickly, Apple has released version 2.1 of the langugae.
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, closures, protocols, 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 REST base application.
Table of contents
- Cover
- Title
- Copyright
- Dedication
- Contents at a Glance
- Contents
- About the Author
- About the Technical Reviewer
- Acknowledgments
- Introduction
- Chapter 1: Hello Swift
- Chapter 2: The Swift Playground in Xcode
- Chapter 3: Accessing Swift’s Compiler and Interpreter: REPL
- Chapter 4: Constants, Variables, and Data Types
- Expressions
- Chapter 6: Operators
- Chapter 7: Flow Control
- Chapter 8: Functions
- Chapter 9: Closures
- Chapter 10: Enumerations
- Chapter 11: Classes and Structures
- Methods
- Inheritance
- Extensions
- Chapter 15: Memory Management and ARC
- Chapter 16: Error Handling
- Chapter 17: Protocols
- Chapter 18: Generics
- Chapter 19: Access Control
- Chapter 20: Interoperability with Objective-C
- Chapter 21: Working with Core Data
- Chapter 22: Consuming RESTful Services
- Index
Product information
- Title: Learn Swift 2 on the Mac, Second Edition
- Author(s):
- Release date: December 2015
- Publisher(s): Apress
- ISBN: 9781484216279
You might also like
book
Technical Documentation and Process
We live in an age of electronic interconnectivity, with co-workers across the hall and across the …
book
Java WebSocket Programming
Master Application Development with Java WebSocket Build dynamic enterprise Web applications that fully leverage state-of-the-art communication …
video
Building Web Applications with Firebase
Really great introduction to Firebase and how to use each of its components. Jonathan Wood, Software …
book
Cracking the Tech Career: Insider Advice on Landing a Job at Google, Microsoft, Apple, or any Top Tech Company
Become the applicant Google can't turn down Cracking the Tech Career is the job seeker's guide …