These two good books helped me...
from The Pragmatic Bookshelf – "Core Data, 2nd Edition, Data Storage and Management for iOS, OS X, and iCloud" (Jan 2013) by Marcus S. Zarra.
from Apress publishers – "Pro iOS Persistence Using Core Data", by Michael Privat and Robert Warner (still in alpha).
Beyond that, I wrote this answer recently about a similar question... have a look and replace their Player
with your Student, and their Game
with your Book.
In my mind you need to focus on these tasks;
- Prepare your data model (on paper, etc), then translate that into a Core Data Model
.xcdatamodeld
file, using attributes to manage entity values, and relationships to manage the relationships to other entities.
- Under the Xcode menu Editor, Create NSManagedObject Subclasses... for each entity. (Note this step is not necessary, however greatly simplifies the process of accessing your entities, attributes and relationships),
- Prepare and initialise your "Core Data Stack" in your code. There are different methods for achieving the same outcome here. Start by using the default template provided by Apple. To do this, check the Use Core Data checkbox when you create a new project.
Hope this helps.