@EliasRahme - Listen i tell you the process what you want to do.... 

1. Make your database in sqlite manager.

2. Copy that database in your app documents folder.

Library>ApplicationSupport>iPhoneSimulator>5.0(ios)>Application>yourApplication>DocumentFolder>"here paste your database"

3. Right click on your project > Add Files to yourProject that brows the same path and attach your database.

Now your database has been attached successfully ! Lets Come to the coding section. 

4. Write insert query on your add to favorite button action

-(IBAction)AddToFvrt:(id)sender {
         //All database insert content here
}

Your insert work has been finished.
When you click on Favorite button. Every time the Favorite View Controller class calls which is a UITableViewController Class.

5. Now its time to write select query.

-(void)viewWillAppear
{
              //All stuff for select the fvrt section from db put here
              NSLog(@"theFav"%@); //theFav is your array
              //if theFav prints correctly 
              //then reload your tableView
             [tableView reloadData];
} 

Thats it!!

Add a code snippet to your website: www.paste.org