Software Development, Games Development, Mobile Development, iOS Development, Android Development, Window Phone Development. Dot Net, Window Services,WCF Services, Web Services, MVC, MySQL, SQL Server and Oracle Tutorials, Articles and their Resources
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."