Basic CoreData
http://www.appcoda.com/introduction-to-core-data/
You should do the following:
- Create a branch from develop called feature/basic_coredata
- Add CoreData to the project.
- Add CoreData model, which describes existing organization and employee entities.
- Implement all necessary classes, objects and methods to initialize and use CoreData.
- Modify or re-create organization and employee classes, so they become subclasses of
NSManagedObject
and correctly work with CoreData. - Rework the logic of the application, so CoreData correctly works and saves all the changes.
- Implement possibility of removing employees from an organization by swiping a cell of the table to the left. This is native functionality and thus should be implemented using native methods and properties of
UITableView
.
You should be able to answer the following questions:
- What is CoreData?
- What is
NSManagedObject
? - What is a relationship?
- What is one-to-one and one-to-many relationship?
- What is
NSManagedObjectContext
? How could it be saved and what happened if it is not saved? - Are there other ways of storing data in a file?