title: Saving custom class into Coredata
body: <p>Hi i have used attribute type transformable and i have followed the procedure of archiving in one of the Forum . </p>
  
  <p>But it says </p>
  
  <p>CoreData: warning: no NSValueTransformer with class name 'SurveyResults' was found for attribute 'survey' on entity 'SurveyData'
  2013-04-30 09:44:16.022 TestReachability[11641:c07] -[SurveyApplication encodeWithCoder:]: unrecognized selector sent to instance 0x845cb00
  2013-04-30 09:44:16.023 TestReachability[11641:c07] <em>*</em> Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SurveyApplication encodeWithCoder:]: unrecognized selector sent to instance 0x845cb00'</p>
  
  <p>Here is my code </p>
  
  <pre><code>SurveyApplication *survey =[[SurveyApplication alloc]init];
  survey.name=@"dheeraj";
  survey.phone=@"573-356-2598";
  
  NSManagedObject *aStory = [NSEntityDescription insertNewObjectForEntityForName:@"SurveyData"inManagedObjectContext:self.managedObjectContext];
  [aStory setValue:survey forKey:@"survey"];
  NSError *saveError = [[NSError alloc]init];
  if (![self.managedObjectContext save:&amp;saveError]) {
      NSLog(@"%@",saveError);
  }
  </code></pre>
  
  <p>SurveyAppplication object is my custom class and im trying to create an object and then store it core data .Could you please help me out.</p>
  
  <p>Thanks 
  Dheeraj</p>