Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
All objects managed by a managed object context are NSManagedObject instances. NSManagedObject is a class that implements the required behavior for a Core Data model object. You do not create NSManagedObject instances, but rather subclasses. These subclasses are usually created from the entities defined in an xcdatamodel file.
The easiest way to create a new managed object is through the NSEntityDescription’s class method, insertNewObjectForEntityForName:inManagedObjectContext.