Writing Your First iPhone Application
* Episode 2: Linking Table Views with a Navigation Controller
Once you have a table view that shows some data, you typically want to navigate deeper when you select a table cell. For example, when you tap on a recipe, you want to see its ingredients. That??™s what navigation controllers are for. In this episode, you??™ll learn about:
o linking two table views with a navigation controller
o how view controllers are stacked
o adding outlets and controllers
o cascading NIB files
o reloading table data
o adding disclosure indicators
o more advanced connections in Interface Builder
* Episode 3: Adding Text Fields and Buttons
Every good iPhone application needs to get input from the user, and this episode shows you how to get input from the keyboard. We??™ll use a table view and a text field to accept new recipe names. You??™ll learn about:
o adding table view cells
o text fields and techniques for optimal data entry
o implementing different button types
o animating modal views and controllers
o writing delegate methods to handle user input
o ways to navigate between views
* Episode 4: Editing On a Table View
If you??™ve played with your iPhone much, youve noticed those green (+) and red (-) buttons to add and remove rows from a table view. In this episode, we??™ll use these UI techniques to add and remove recipe ingredients. You??™ll learn about:
o adding (+) and deleting (-) table rows
o using the Edit/Done button for editing a table view
o animating the addition of new table rows
o changing the editing style icons
o another example of a navigation controller
o more advanced connections in Interface Builder
* Episode 5: Reordering Rows and Persisting Data
When you quit an iPhone application and restart it later, you want important data to be preserved. In this episode, we??™ll save our recipes and their ingredients in a SQLite database. Then we??™ll add the ability to reorder ingredients and save their order back to the database. You??™ll learn about:
o creating a SQLite database
o persisting data to a SQLite database using a simple wrapper class
o how to reorder table rows
o limiting which rows are reorderable
o restricting where rows can be repositioned
o preserving row order in the database
相关文章
UKthesis provides an online writing service for all types of academic writing. Check out some of them and don't hesitate to place your order.