Table View Application In iPhone

In this application we will see how to content delete , edit from the Table View. So let see how it will worked.

Step 1: Open the Xcode, Create a new project using View Base application. Give the application “TableView”.

Step 2: Xcode automatically creates the directory structure and adds essential frameworks to it. You can explore the directory structure to check out the content of the directory.

Step 3: Expand classes and notice Interface Builder created the FirstViewController and SecondViewController
class for you. Expand Resources and notice the template generated a separate nib, TableViewViewController.xib for the TableView application.

Step 4: Open the TableViewAppDelegate.m file make the following changes:






Step 6: Double click the TableViewViewController.xib file and open it to the Interface Builder. First drag the table view from the library and place it to the view window.Select the Table View from the view and bring up Connection Inspector and connect datasource to File’s owner icon and delegate to the File’s owner icon. Now save the .xib file, close it and go back to the Xcode.

Step 7: Open the TableViewViewController.m file make the following changes:




Step 8: Now Compile and run the application on the Simulator.

You can Download SourceCode from here

Leave a Comment:

Table View Application in iPhone | iPhone / iPod / iPad Software developing says December 19, 2011

[…] iPhone Tutorial | iPhone iOS4 iPad SDK Development & Programming Blog This entry was posted in IOS Development and tagged Application, iPhone, Table, View by sniuff. Bookmark the permalink. […]

10 Fresh iPhone Tutorials For Developers – Script Tutorials says April 3, 2012

[…] seen on the screen. If you aren’t using shaders yet, you will be after reading this tutorial. 2. Table View Application in iPhoneIn this application we will see how to content delete , edit from the Table View. So let see how it […]

Add Your Reply