I am trying to get my head round Core Data and Bindings. I have
created a simple core data model consisting of two entities called
Course and Student. There is a to-many relationship from Course to
Student. I have created a view with one table for Courses and another
for students. There is a button for adding courses. That works fine. I
also have a button which when clicked gets a CSV file containing
student details. For each student in the file I want to create a new
entity and have the following code in my NSPersistentDocument subclass: