title: how to remove an NSMutableArray object by key?
body: <p>i have structured an NSMutableArray and here is an example</p>
  
  <blockquote>
    <p>(
            {
            Account = A;
            Type = Electricity;
        },
            {
            Account = B;
            Type = Water;
        },
            {
            Account = C;
            Type = Mobile;
        } )</p>
  </blockquote>
  
  <p>when i try to delete Account B using </p>
  
  <blockquote>
    <p>[data removeObject:@"B"];</p>
  </blockquote>
  
  <p>Nothing Happens </p>
  
  <pre><code>[[NSUserDefaults standardUserDefaults] synchronize];
  NSArray *archivedArray = [NSKeyedUnarchiver unarchiveObjectWithFile:[self dataFilePath]];
  if (archivedArray == nil) {
      data = [[NSMutableArray alloc] init];           
  } else {
      data = [[NSMutableArray alloc] initWithArray:archivedArray];
  }
  </code></pre>