Contents

init(context:)

Initializes a managed object subclass and inserts it into the specified managed object context.

Declaration

convenience init(context moc: NSManagedObjectContext)

Return Value

An initialized instance of the appropriate subclass.

Discussion

This method is only legal to call on subclasses of NSManagedObject that represent a single entity in the model.

See Also

Creating a Managed Object