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
Learn Swift on the Mac: For OS X and iOS
There's a new language in town. Swift is Apple's new, native, fast, and easy to learn …
book
Pro Objective-C
The Objective-C programming language continues to grow in popularity and usage because of the power and …
book
Learning Cocoa with Objective-C, 4th Edition
Get up to speed on Cocoa and Objective-C, and start developing applications on the iOS and …
video
The 10 Day iPhone App Bootcamp - New iOS 12 and Xcode
Looking to get started with creating fun and interactive apps? This course will equip you with …