title: Create an NSMutableArray that contains several NSMutableDictionary objects
body: <p>I've looked around and seen several postings concerning sorting NSMutableArray's that contain NSDictionaries, but haven't been able to find some concrete examples of how to actually make an NSMutableArray composed of NSDictionaries. </p>
  
  <p>I am using NSUserDefaults to keep track of a user's preferences for several different items. The NSMutableArray will be used to keep track of the total items, and the NSDictionaries are for the individual preferences concerning each item.</p>
  
  <p>I've written these methods to keep track of items in my preferences class, but I'm not too sure how to initialize the NMutableArray to contain NSDictionaries.</p>
  
  <pre><code>-(NSMutableArray *)deviceListArray
  {
      return [[NSUserDefaults standardUserDefaults] mutableArrayValueForKey:@"device_list_array"];
  }
  
  -(void) setDeviceListArray:(NSMutableArray *)deviceListArray
  {
      [[NSUserDefaults standardUserDefaults] setObject:deviceListArray forKey:@"device_list_array"];
  }
  </code></pre>
  
  <p>If anyone could point me in the right direction, I would really appreciate it. Thank you very much! Or if someone has a better strategy for keeping track of items, each with different preferences, then that would be awesome too!</p>
  
  <p>Thanks!!</p>