Book description
Move into iOS development by getting a firm grasp of its fundamentals, including the Xcode 9 IDE, Cocoa Touch, and the latest version of Apple’s acclaimed programming language, Swift 4. 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
In this edition, catch up on the latest iOS programming features.
- Multiline strings and improved dictionaries
- Object serialization
- Key paths and key–value observing
- Expanded git integration
- Code refactoring
- 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 11.
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 Management
- 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 11 Programming Fundamentals with Swift
- Author(s):
- Release date: October 2017
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491999318
You might also like
book
Designing Data-Intensive Applications
Data is at the center of many challenges in system design today. Difficult issues need to …
book
Metal Programming Guide: Tutorial and Reference via Swift
Master Metal: The Next-Generation Graphics and GPU Programming Platform for Apple Developers Metal enables Apple developers …
book
Clean Code: A Handbook of Agile Software Craftsmanship
Even bad code can function. But if code isn’t clean, it can bring a development organization …
book
Unit Testing Principles, Practices, and Patterns
Unit Testing Principles, Patterns and Practices teaches you to design and write tests that target the …