Book description
If you’re getting started with iOS development, or want a firmer grasp of the basics, this practical guide provides a clear view of its fundamental building blocks—Objective-C, Xcode, and Cocoa Touch. You’ll learn object-oriented concepts, understand how to use Apple’s development tools, and discover how Cocoa provides the underlying functionality iOS apps need to have. Dozens of example projects are available at GitHub.
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 7.
- Explore the C language to learn how Objective-C works
- Learn how instances are created, and why they’re so important
- Tour the lifecycle of an Xcode project, from inception to App Store
- Discover how to build interfaces with nibs and the nib editor
- Explore Cocoa’s use of Objective-C linguistic features
- Use Cocoa’s event-driven model and major design patterns
- Learn the role of accessors, key-value coding, and properties
- Understand the power of ARC-based object memory management
- Send messages and data between Cocoa objects
Table of contents
- iOS 7 Programming Fundamentals
- Preface
- I. Language
-
II. IDE
- 6. Anatomy of an Xcode Project
- 7. Nib Management
- 8. Documentation
-
9. Life Cycle of a Project
- Device Architecture and Conditional Code
- Version Control
- Editing Your Code
- Navigating Your Code
- Running in the Simulator
- Debugging
- Unit Testing
- Static Analyzer
- Clean
- Running on a Device
- Gauges and Instruments
- Localization
- Archiving and Distribution
- Ad Hoc Distribution
- Final App Preparations
- Submission to the App Store
-
III. Cocoa
- 10. Cocoa Classes
- 11. Cocoa Events
-
12. Accessors and Memory Management
- Accessors
- Key–Value Coding
-
Memory Management
- Principles of Cocoa Memory Management
- The Rules of Cocoa Manual Memory Management
- What ARC Is and What It Does
- How Cocoa Objects Manage Memory
- Autorelease
- Memory Management of Instance Variables (Non-ARC)
- Memory Management of Instance Variables (ARC)
- Retain Cycles and Weak References
- Unusual Memory Management Situations
- Nib Loading and Memory Management
- Memory Management of Global Variables
- Memory Management of CFTypeRefs
- Memory Management of Pointer-to-Void Context Info
- Properties
- 13. Communication Between Objects
- Index
- About the Author
- Colophon
- Copyright
Product information
- Title: iOS 7 Programming Fundamentals
- Author(s):
- Release date: October 2013
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491946893
You might also like
book
Write Great Code, Volume 1, 2nd Edition
This, the first volume in Randall Hyde’s Write Great Code series, dives into machine organization without …
book
C++ Crash Course
Upgrade your Code with C++ C++ is one of the most widely used languages for real-world …
book
Hands-on Booting: Learn the Boot Process of Linux, Windows, and Unix
Master the booting procedure of various operating systems with in-depth analysis of bootloaders and firmware. The …
book
WebAssembly: The Definitive Guide
WebAssembly: The Definitive Guide is a thorough and accessible introduction to one of the most transformative …