Book description
Whether you're a self-taught iPhone development genius or have just made your way through the pages of Beginning iPhone 3 Development, we have the perfect book for you.
Table of contents
- Copyright
- About the Authors
- About the Technical Reviewer
- Acknowledgments
- Preface
- 1. Here We Go Round Again
-
I. Core Data
-
2. The Anatomy of Core Data
- 2.1. A Brief History of Core Data
- 2.2. Creating a Core Data Template Application
- 2.3. Core Data Concepts and Terminology
- 2.4. The Data Model and Persistent Store
- 2.5. Entities and the Data Model Editor
- 2.6. Managed Objects
- 2.7. Loading Data from the Persistent Store
- 2.8. The Fetched Results Controller
- 2.9. Putting Everything in Context
-
3. A Super Start: Adding, Displaying, and Deleting Data
- 3.1. Setting up the Xcode Project
- 3.2. Creating the Table View Controller
- 3.3. Setting up MainWindow.xib
-
3.4. Designing the Data Model
- 3.4.1. Adding an Entity
- 3.4.2. Editing the New Entity
- 3.4.3. Adding Attributes to the New Entity
- 3.4.4. Adding the Name Attribute
- 3.4.5. Editing the Attribute
- 3.5. Creating HeroListViewController
- 3.6. Let 'Er Rip
- 3.7. Done, but Not Done
-
4. The Devil in the Detail View
- 4.1. Table-Based vs. Nib-Based Detail Views
- 4.2. Detail Editing View Challenges
- 4.3. Controlling Table Structure with Arrays
- 4.4. Paired Arrays
- 4.5. Formatting of Attributes
- 4.6. Creating the Detail View Controller
- 4.7. Adding Editing Subcontrollers
- 4.8. Implementing a Selection List
- 4.9. Devil's End
- 5. Preparing for Change: Migrations and Versioning
-
6. Custom Managed Objects
- 6.1. Updating the Data Model
- 6.2. Creating the Hero Class
- 6.3. Tweaking the Hero Header
- 6.4. Defaulting
- 6.5. Validation
- 6.6. Virtual Accessors
- 6.7. Adding Validation Feedback
- 6.8. Creating the Value Transformer
- 6.9. Creating the Color Attribute Editor
- 6.10. Displaying the New Attributes in Hero Edit Controller
- 6.11. The Display Problem
- 6.12. Adding View-Only Support to Hero Edit Controller
- 6.13. Color Us Gone
-
7. Relationships, Fetched Properties, and Expressions
- 7.1. Expanding Our Application: Superpowers and Reports
- 7.2. Relationships
- 7.3. Fetched Properties
-
7.4. Creating Relationships and Fetched Properties in the Data Model Editor
- 7.4.1. Adding the Power Entity
- 7.4.2. Creating the Powers Relationship
- 7.4.3. Creating the Inverse Relationship
- 7.4.4. Creating the olderHeroes Fetched Property
- 7.4.5. Creating the youngerHeroes Fetched Property
- 7.4.6. Creating the sameSexHeroes Fetched Property
- 7.4.7. Creating the oppositeSexHeroes Fetched Property
- 7.5. Adding Relationships and Fetched Properties to the Hero Class
-
7.6. The Big Refactor
- 7.6.1. Renaming the Class
- 7.6.2. Refactoring the hero Instance Variable
- 7.6.3. Removing the Arrays
- 7.6.4. Supporting Save and Cancel Buttons
-
7.6.5. Adding Support for To-Many Relationships
- 7.6.5.1. Turning on Edit Mode
- 7.6.5.2. Setting Row Indentation
- 7.6.5.3. Setting the Correct Number of Rows for To-Many Sections
- 7.6.5.4. The Set Problem
- 7.6.5.5. Specifying the Editing Style for the Rows
- 7.6.5.6. Displaying To-Many Sections
- 7.6.5.7. Updating Row Selection for To-Many Relationships
- 7.6.5.8. Handling To-Many Inserts and Deletes
- 7.7. Using the New Generic Controller
- 7.8. Creating the Fetched Property Attribute Controller
- 7.9. Cleaning Up Deleted Objects
- 7.10. Wonderful to the Core
-
2. The Anatomy of Core Data
-
II. Further Explorations
- 8. Peer-to-Peer Over Bluetooth Using GameKit
-
9. Online Play: Bonjour and Network Streams
- 9.1. This Chapter's Application
- 9.2. Overview of the Process
- 9.3. Setting Up a Listener
- 9.4. Bonjour
- 9.5. Streams
- 9.6. Putting It All Together
- 9.7. Updating Tic-Tac-Toe for Online Play
- 9.8. Time to Play
- 10. Working with Data from the Web
- 11. MapKit
- 12. Sending Mail
-
13. iPod Library Access
- 13.1. This Chapter's Application
-
13.2. Working with the iPod Library
- 13.2.1. Media Items
- 13.2.2. Media Item Collections
- 13.2.3. Media Queries and Media Property Predicates
- 13.2.4. The Media Picker Controller
-
13.2.5. The Music Player Controller
- 13.2.5.1. Creating the Music Player Controller
- 13.2.5.2. Determining If the Music Player Controller Is Playing
- 13.2.5.3. Specifying the Music Player Controller's Queue
- 13.2.5.4. Getting or Setting the Currently Playing Media Item
- 13.2.5.5. Skipping Tracks
- 13.2.5.6. Seeking
- 13.2.5.7. Playback Time
- 13.2.5.8. Repeat and Shuffle Modes
- 13.2.5.9. Adjusting the Music Player Controller's Volume
- 13.2.5.10. Music Player Controller Notifications
- 13.3. Building the Simple Player Application
- 13.4. Avast! Rough Waters Ahead!
-
14. Keeping Your Interface Responsive
- 14.1. Exploring the Concurrency Problem
- 14.2. Creating the Stalled Application
- 14.3. Timers
- 14.4. Fixing Stalled with a Timer
- 14.5. Operation Queues & Concurrency
- 14.6. Fixing Stalled with an Operation Queue
- 14.7. Updating StalledViewController.m
- 14.8. Queue 'em Up
- 15. Debugging
- 16. The Road Goes Ever On...
Product information
- Title: More iPhone 3 Development: Tackling iPhone SDK 3
- Author(s):
- Release date: January 2010
- Publisher(s): Apress
- ISBN: 9781430225058
You might also like
book
More iOS 6 Development: Further Explorations of the iOS SDK
Interested in iPhone and iPad apps development? Want to learn more? Whether you're a self-taught iPhone …
book
ppk on JavaScript
Whether you're an old-school scripter who needs to modernize your JavaScripting skills or a standards-aware Web …
book
Creating Web Sites: The Missing Manual
Think you have to be a technical wizard to build a great web site? Think again. …
book
Essential ASP for Web Professionals
Get results from ASP with server-side JavaScript-today! Learn from practical real-world examples with downloadable reusable code …