title: Working with NSMutableArray and NSUserDefaults
body: <p>i`m trying to make an NSMutableArray From NSUserDefaults so i can add/delete and edit it later</p>
  
  <p>my code is</p>
  
  <pre><code>- (void)viewDidLoad {
  [super viewDidLoad];
  
  NSUserDefaults *ArrayTable = [NSUserDefaults standardUserDefaults];
  [ArrayTable setObject:@"One" forKey:@"myArray"];
  [ArrayTable setObject:@"Two" forKey:@"myArray"];
  [ArrayTable setObject:@"Three" forKey:@"myArray"];
  [ArrayTable setObject:@"Four" forKey:@"myArray"];
  [ArrayTable setObject:@"Five" forKey:@"myArray"];
  [ArrayTable synchronize];
  
  NSMutableArray *array = [[NSMutableArray alloc] init];
  array = [ArrayTable objectForKey:@"myArray"];
  }
  
  
  - (void)viewDidUnload
  {
      [super viewDidUnload];
  }
  
  #pragma mark - Table View
  
  - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
  {
      return 1;
  }
  
  - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
  {
      return [array count];
  }
  
  - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
  {
      static NSString *CellIdentifier = @"Cell";
  
      UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
      if (cell == nil) {
          cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier];
          cell.accessoryType = UITableViewCellAccessoryDisclosureIndicator;
      }
      cell.textLabel.text = [array objectAtIndex:indexPath.row];
      return cell;
  }
  </code></pre>
  
  <p>when i build and run nothing shows up</p>
  
  <p>i googled it but with no help, i`m sure i didn't understand how to do it</p>
  
  <p>what i need is to build an app that contain a tableview with empty data, the use will fill in the data Add/Delete/Edit</p>
  
  <p>can someone please explain it for me</p>
  
  <p>thank you in advance</p>