making array data able to be favorited and loaded in a table
<p>hello i have an array that features data in an array of arrays.
its like the items in format root array 
rootArray = [[NSArray alloc] initWithObjects:@"1", @"2",  nil];</p>

<p>i want to knw what action to give a uibutton in order to be able to change a boolean value to is_favorite for that cell and make it show in the favorite table.</p>

<p>so i want to have an <code>-(IBAction) makefavorite
//i have no idea how to implement this however to make the selected detailview controller and also its previus cell that was selected load in the favorites table.
</code>
furthermore i heard of using the is_favorite boolean to make items appear in a favorite view however i heard that only applies to databases.</p>

<p>hope im more clear now</p>

<p>thanks</p>

<p><code>translation attempt:</code></p>

<blockquote>
  <p>Hello, I have an array of data and I show the user some object out of that array in a "detailed view" so to speak.  Once the view shows some object in that array to the user, I want the user to have the option of saving that object to their "Favorites" by clicking a UIButton.  I would then like all of these "favorites" loaded into a UITableView with each item in the favorites array representing an individual table view cell.  So possibly I could store all of these "favorite" items into a set of NSUserDefaults each time a button is pressed?</p>
  
  <p>Could anyone elaborate more on how I could implement such a system?  I am very new to this and my English is not very good.  Thanks!</p>
</blockquote>
