title: +entityForName: nil is not a legal NSManagedObjectContext parameter searching for entity name 'Scores'
body: <p>I'm new to Objective C, iOS and CoreData and I'm currently trying to save some data to my Entity in CoreData.</p>
  <p>When trying to find the entity with <code>insertNewObjectForEntityForName</code>, it looks like it is returning <code>nil</code> based on the error below.</p>
  <p><strong>Error:</strong></p>
  <pre><code>2015-04-06 17:46:12.274 Bugland[18623:607] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', 
  reason: '+entityForName: nil is not a legal NSManagedObjectContext parameter searching for entity name 'Scores''
  </code></pre>
  <p><strong>LeaderboardViewController.m</strong></p>
  <pre><code>    JPAppDelegate *JPAppDelegate = [[UIApplication sharedApplication] delegate];
      
      NSManagedObjectContext *context =[JPAppDelegate managedObjectContext];
      
      NSManagedObject *newScore;
      newScore = [NSEntityDescription
                  insertNewObjectForEntityForName:@&quot;Scores&quot;
                  inManagedObjectContext:context];
      [newScore setValue: scoreToAddAsString forKey:@&quot;score&quot;];
      NSError *error;
      [context save:&amp;error];
  </code></pre>