title: Default Context is nil! Did you forget to initialize the Core Data Stack? [MagicalRecord]
body: <p>I'm using MagicalRecord for the first time.</p>
  
  <p>I've set it up like this:</p>
  
  <pre><code>[MagicalRecord setupCoreDataStackWithStoreNamed:@"test"];
  </code></pre>
  
  <p>where test is the filename of my Core data file ( test.xcdatamodeld ).</p>
  
  <p>In my view controller where I want to use my core data I wrote this:</p>
  
  <pre><code>- (void)viewDidLoad
  {
      [super viewDidLoad];
  
      // If there is no POI, create a new POI
      if (!_poi) {
          _poi = [POI MR_createEntity];
      }
      // If there is no POI rank(=category) create one
      if (!_poi.rank) {
          _poi.rank = [Rank MR_createEntity];
      }
  }
  </code></pre>
  
  <p>Where I did </p>
  
  <pre><code>@Class POI; 
  </code></pre>
  
  <p>in the header file. Where POI and Rank are my coredata classes that are generated by xCode.</p>
  
  <p>When I run this: I always get:</p>
  
  <pre><code>2014-08-08 14:52:05.509 test[41248:60b] *** Assertion failure in +[NSManagedObjectContext MR_defaultContext], /Users/x/Documents/xCode/test/test/Pods/MagicalRecord/MagicalRecord/Categories/NSManagedObjectContext/NSManagedObjectContext+MagicalRecord.m:60
  2014-08-08 14:52:05.512 test[41248:60b] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Default Context is nil! Did you forget to initialize the Core Data Stack?'
  </code></pre>
  
  <p>This happens just after the init of my ViewController.</p>
  
  <p>Can someone help me?</p>
  
  <p>EDIT:</p>
  
  <p>I installed it via Cocoapods:</p>
  
  <pre><code>Pod 'MagicalRecord'
  </code></pre>
  
  <p>My Appdelegate:</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  {
      //Setup Reliant
      [self _reliantInit];
  
      self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
      self.window.rootViewController = [[UINavigationController alloc]initWithRootViewController:[[HomeViewController alloc]init]];
      // Override point for customization after application launch.
      self.window.backgroundColor = [UIColor whiteColor];
      [self.window makeKeyAndVisible];
  
      //Setup MagicalRecord
      [MagicalRecord setupCoreDataStackWithStoreNamed:@"test"];
  
      return YES;
  }
  </code></pre>