<p>There's a new language in town. Swift is Apple's new, native, fast, and easy to learn programming language for iOS 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 <em>Learn Swift on th
Learn Swift on the Mac: For OS X and iOS
β Scribed by Waqar Malik (auth.)
- Publisher
- Apress
- Year
- 2015
- Tongue
- English
- Leaves
- 254
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
There's a new language in town. Swift is Apple's new, native, fast, and easy to learn programming language for iOS 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 on the Mac 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 new HealthKit framework.
β¦ Table of Contents
Front Matter....Pages i-xxiii
Hello Swift....Pages 1-13
The Swift Playground in Xcode 6....Pages 15-27
Accessing Swiftβs Compiler and Interpreter: REPL....Pages 29-32
Introduction to Object-Oriented Programming....Pages 33-42
Constants, Variables, and Data Types....Pages 43-54
Operators....Pages 55-66
Flow Control....Pages 67-79
Functions and Closures....Pages 81-92
Classes and Structures....Pages 93-102
Methods....Pages 103-108
Access Control....Pages 109-115
Inheritance....Pages 117-121
Extensions....Pages 123-128
Memory Management and ARC....Pages 129-139
Protocols....Pages 141-148
Generics....Pages 149-156
Expressions....Pages 157-164
Interoperability with Objective-C....Pages 165-176
Mix and Match....Pages 177-183
Working with Core Data....Pages 185-202
Consuming RESTful Services....Pages 203-210
Developing a Swift-Based Application....Pages 211-235
Back Matter....Pages 237-242
β¦ Subjects
Programming Languages, Compilers, Interpreters
π SIMILAR VOLUMES
There's a new language in town. Swift is Apple's new, native, fast, and easy to learn programming language for iOS 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 on
Considered a classic by an entire generation of Mac programmers,Β Dave Mark's Learn C on the MacΒ has been updated for you to include Mac OS X Mountain Lion and the latest iOS considerations. Learn C on the Mac: For OS X and iOS, Second EditionΒ is perfect for beginners learning to program. It includ
Considered a classic by an entire generation of Mac programmers, Dave Mark's Learn C on the Machas been updated for you to include Mac OS X Mountain Lion and the latest iOS considerations. Learn C on the Mac: For OS X and iOS, Second Edition is perfect for beginners learning to program. It includes
Considered a classic by an entire generation of Mac programmers, Dave Mark's Learn C on the Mac has been updated for you to include Mac OS X Mountain Lion and the latest iOS considerations. Learn C on the Mac: For OS X and iOS, Second Edition is perfect for beginners learning to program. It includes
Considered a classic by an entire generation of Mac programmers, Dave Marks Learn C on the Mac has been updated for you to include Mac OS X Mountain Lion and the latest iOS considerations. Learn C on the Mac For OS X and iOS, Second Edition is perfect for beginners learning to program. It includes c