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
- 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: 9781491945575
You might also like
book
Fundamentals of Software Architecture
Salary surveys worldwide regularly place software architect in the top 10 best jobs, yet no real …
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
iOS 12 Programming Fundamentals with Swift
Move into iOS development by getting a firm grasp of its fundamentals, including the Xcode 10 …
book
The Pragmatic Programmer: your journey to mastery, 20th Anniversary Edition, 2nd Edition
"One of the most significant books in my life." —Obie Fernandez, Author, The Rails Way "Twenty …