title: How to store two fields in a NSMutableArray?
body: <p>well i am storing An id of a student into a NSMUtableArray what i am trying is that to expand that array to accept two field rather than just the student id </p>
  
  <blockquote>
  <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>
  </blockquote>
  
  <p>As you can see the data variable is only expecting one field</p>