-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Creating Entities
Tony Arnold edited this page May 2, 2014
·
2 revisions
To create and insert a new instance of an Entity in the default context, you can use:
Person *myPerson = [Person MR_createEntity];
To create and insert an entity into specific context:
Person *myPerson = [Person MR_createEntityInContext:otherContext];
MagicalRecord Guide
- Installing MagicalRecord
- Getting Started
- Working with Managed Object Contexts
- Creating Entities
- Deleting Entities
- Fetching Entities
- Saving Entities
- Usage Patterns
- Importing Data
- Logging
Upgrade Guides
Contributing to MagicalRecord
Resources