Book description
Move into iOS development by getting a firm grasp of its fundamentals, including the Xcode 10 IDE, Cocoa Touch, and the latest version of Apple’s acclaimed programming language, Swift 5. With this thoroughly updated guide, you’ll learn the Swift language, understand Apple’s Xcode development tools, and discover the Cocoa framework.
- Explore Swift’s object-oriented concepts
- Become familiar with built-in Swift types
- Dive deep into Swift objects, protocols, and generics
- Tour the lifecycle of an Xcode project
- Learn how nibs are loaded
- Understand Cocoa’s event-driven design
- Communicate with C and Objective-C
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 13.
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 13 Programming Fundamentals with Swift
- Author(s):
- Release date: October 2019
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492074533
You might also like
book
iOS 14 Programming Fundamentals with Swift
Move into iOS development by getting a firm grasp of its fundamentals, including the Xcode 12 …
book
iOS 12 Programming Fundamentals with Swift
Move into iOS development by getting a firm grasp of its fundamentals, including the Xcode 10 …
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
iOS 7 Programming Fundamentals
If you’re getting started with iOS development, or want a firmer grasp of the basics, this …