Search code examples
ios6sqlitetableview

Populate TableView from Database (iOS6 SQLite3)


I am currently populating a TableView's cells with static data.

For ex.

- (void)viewDidLoad 
{ 
   [super viewDidLoad]; 
   _carNamesArray = @[@"Porsche", @"Ferrari", @"Fiat"]; 
}

Can someone point me at an example that would show me how to load the data from a SQLite database instead?

Thanks.


Solution

  • Here is a tutorial- 'How To Develop an iPhone or iPad App using SQLite Data and an UITableView | iOS |'. Hope it'll help you.