Book description
Move into iOS development by getting a firm grasp of its fundamentals, including the Xcode 12 IDE, Cocoa Touch, and the latest version of Apple’s acclaimed programming language, Swift 5.3. With this thoroughly updated guide, you’ll learn the Swift language, understand Apple’s Xcode development tools, and discover the Cocoa framework.
- Become familiar with built-in Swift types
- Dive deep into Swift objects, protocols, and generics
- Tour the life cycle of an Xcode project
- Learn how nibs are loaded
- Understand Cocoa’s event-driven design
- Communicate with C and Objective-C
In this edition, catch up on the latest iOS programming features:
- Multiple trailing closures
- Code editor document tabs
- New Simulator features
- Resources in Swift packages
- Logging and testing improvements
- And more!
Once you master the fundamentals, you’ll be ready to tackle the details of iOS app development with author Matt Neuburg’s companion guide, Programming iOS 14.
Publisher resources
Table of contents
- Preface
-
I. Language
- 1. The Architecture of Swift
-
2. Functions
- Function Parameters and Return Value
- External Parameter Names
- Overloading
- Default Parameter Values
- Variadic Parameters
- Ignored Parameters
- Modifiable Parameters
- Function in Function
- Recursion
- Function as Value
- Anonymous Functions
- Define-and-Call
- Closures
- Curried Functions
- Function References and Selectors
- 3. Variables and Simple Types
- 4. Object Types
- 5. Flow Control and More
-
II. IDE
- 6. Anatomy of an Xcode Project
- 7. Nib Files
- 8. Documentation
- 9. Life Cycle of a Project
-
III. Cocoa
- 10. Cocoa Classes
- 11. Cocoa Events
-
12. Memory Management
- Principles of Cocoa Memory Management
- Rules of Cocoa Memory Management
- What ARC Is and What It Does
- How Cocoa Objects Manage Memory
- Autorelease Pool
- Memory Management of Instance Properties
- Retain Cycles and Weak References
- Unusual Memory Management Situations
- Nib Loading and Memory Management
- Memory Management of CFTypeRefs
- Property Memory Management Policies
- Debugging Memory Management Mistakes
- 13. Communication Between Objects
- A. C, Objective-C, and Swift
- Index
Product information
- Title: iOS 14 Programming Fundamentals with Swift
- Author(s):
- Release date: October 2020
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492092094
You might also like
book
iOS 13 Programming Fundamentals with Swift
Move into iOS development by getting a firm grasp of its fundamentals, including the Xcode 10 …
book
iOS Development with Swift
iOS Development with Swift is a hands-on guide to creating apps for iPhone and iPad using …
video
iOS 13 Programming with Swift 5 - Second Edition
The iOS 13 SDK arrives as a major milestone in the evolution of the Swift language …
book
Core Data in Swift
Core Data is intricate, powerful, and necessary. Discover the powerful capabilities integrated into Core Data, and …