title: NSManagedObject methods are not getting called
body: <p>The <code>NSManagedObject</code> methods i.e. <code>awakeFromInsert</code>, <code>awakeFromFetch</code>, etc are not getting called, when implemented in the <code>NSManagedObject</code> subclass. What could be the reason? The Entity "Class" is set to subclass in the Entity model editor.</p>
  
  <p><strong>Event.m</strong></p>
  
  <pre><code>#import "Event.h"
  
  @implementation Event
  
  @dynamic timeStamp;
  
  - (void)awakeFromInsert {
      NSLog(@"%s", __FUNCTION__);
      [super awakeFromInsert];
  }
  
  - (void)awakeFromFetch {
      NSLog(@"%s", __FUNCTION__);
      [super awakeFromFetch];
  }
  
  @end
  </code></pre>
  
  <p><strong>MyViewController (Insert)</strong></p>
  
  <pre><code>- (void)insertNewObject:(id)sender {
      NSManagedObjectContext *context = [self.fetchedResultsController managedObjectContext];
      NSEntityDescription *entity = [[self.fetchedResultsController fetchRequest] entity];
      NSManagedObject *newManagedObject = [NSEntityDescription insertNewObjectForEntityForName:[entity name] inManagedObjectContext:context];
  
      [newManagedObject setValue:[NSDate date] forKey:@"timeStamp"];
  
      NSError *error = nil;
      if (![context save:&amp;error]) {
          NSLog(@"Unresolved error %@, %@", error, [error userInfo]);
          abort();
      }
  }
  </code></pre>
  
  <p>And here's a screen-shot of the model editor. <img src="https://i.stack.imgur.com/2Hj8v.png" alt="enter image description here"></p>
  
  <p>Note: I'm using Xcode 4.4.1 (iOS SDK 5.1) on Mountain Lion, with ARC ON.</p>