Writing Your First iPhone Application | 648 MB
Now that the iPhone SDK has officially been released and the Apple App Store is open for business, it??™s time to write killer mobile applications! To do that, you??™ll need to use several powerful (and possibly unfamiliar) tools: Xcode, Interface Builder, Objective-C, and then the iPhone SDK itself. It can all be a little overwhelming at first. Learn how to write your first table-based iPhone application from Bill Dudney, an experienced iPhone developer. Building iPhone applications is a visual process. These video tutorials are a great way to learn by shoulder-surfing with an expert, whether you??™re thinking about getting into iPhone development or already well on your way. You??™ll learn his workflow, his development techniques, and the tricks of the trade. And you??™ll walk away with the confidence and resources to build your table-based iPhone application from scratch.
In this screencast series, we??™ll build an iPhone application similar to the iPhone contacts manager. We??™ll quickly transition from a stock Xcode template to a real application you can show off to your friends, and demystify the magic along the way. In addition to the videos, you can also download the source code for each episode so you can experiment on your own.
* Episode 1: Creating Table Views
Table views are central to many iPhone applications, such as the contact manager. In this episode, we??™ll start by creating a table view to display our recipes. You??™ll learn about:
o creating a new Xcode project
o adding tables to views in Interface Builder
o creating view controllers
o how delegate methods work, specifically with table views
o making connections in Interface Builder
o how to set up table view data sources
o handling table cell selection
o tricks to navigating the documentation
* 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, you??™ve 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
- Code:
-
http://www.fileserve.com/file/ytsZsVG
http://www.fileserve.com/file/Tzk7vcH
http://www.fileserve.com/file/FF5F5t6
http://www.fileserve.com/file/G3Fb5wj
http://www.fileserve.com/file/gv4fuhV
http://www.fileserve.com/file/9PEuKyq
http://www.fileserve.com/file/NtnsKu9
http://www.fileserve.com/file/tvSuRRx
http://www.fileserve.com/file/Fn7VqZd