iPhone OS Reference Library Apple Developer Connection spyglass button

Version: 1.1

Posted: 2009-07-14

Build Requirements: Mac OS X v10.5.7 or later; Xcode 3.1.3 or later; iPhone OS 3.0.

Runtime Requirements: Mac OS X v10.5.7 or later; iPhone OS 3.0.

View Source Code:

Download Sample Code (“iPhoneCoreDataRecipes.zip”, 276.6K)



Description

This sample shows how you can use view controllers, table views, and Core Data in an iPhone application.

The application uses the domain of organizing and presenting recipes to show how you can use the view controller as the organizing unit to manage screenfuls of information, and how you can leverage table views to display and edit data in an elegant fashion.

Amongst the techniques shown are how to:

* Combine tab bar and navigation controllers to create a complex navigation flow

* Customize a navigation bar

* Implement custom table view cells that reformat themselves in response to editing, removing unnecessary information to ensure that the display remains uncluttered

* Customize a table header view

* Present modal views

* Use multiple entities in a Core Data application

* Provide a default Core Data persistent store

Document Revision History

Date Notes
2009-07-14Added UIGraphicsEndImageContext and textFieldShouldReturn: method to RecipeDetailViewController.m. Added viewDidUnload methods to several view controllers. Cleaned up error-handling code. Added a xib file for TemperatureCell.
2009-06-04Shows how you can use view controllers, table views, and Core Data in an iPhone application.
Did this document help you? Yes It's good, but... Not helpful...