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
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
book
Learn SwiftUI
Get to grips with Apple's new SwiftUI framework for creating robust UIs for iOS and iPadOS …
book
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
book
Fluent Python, 2nd Edition
Python’s simplicity lets you become productive quickly, but often this means you aren’t using everything it …