Friday, July 29, 2011

SQLite 101 for iPhone Developers: Making Our App


We're going to have two screens for our app. The first will show a list of banks in a table view. Tapping on a bank in the table view should bring up another view with details on that bank.

Rather than retrieving all of the data from the database, we're just going to pull out the specific subset we need to display the first table view to save memory. So let's create a class to store this:

Click on Classes and click "File\New File…", choose "Cocoa Touch Class" on the side, pick "Objective-C class", select "Subclass of NSObject", and click "Next". Name the class "FailedBankInfo."

Replace FailedBankInfo.h with the following:

Read More....

LinkWithin

LinkWithin

Like Us On Facebook and Receive All Updates!

You can also receive Free Email Updates:

Powered By Tutorails