##Objective
Application Sample performs CoreData operation with relationship. A User
can have multiple Address
, User->>Address is a One-to-Many relationship. Application Create/Insert new User with its respective Addresses using CoreData relationship.
##Things Covered
- CoreData operations Insert, Update & Delete.
- One-to-Many Relationship.
- Cascade Delete. (When user is deleted, its respective addresses also removed from database using Cascade delete property.)
- Use of
NSManagedObjectID
to accessNSManagedObject
in another ViewController. - List of all the Users using
NSFetchedResultsController