Binding Many-to-Many Core Data relationships in UI

Posted by Kevin on Stack Overflow See other posts from Stack Overflow or by Kevin
Published on 2010-04-04T16:18:04Z Indexed on 2010/04/04 16:23 UTC
Read the original article Hit count: 423

Basically my setup is this. I have a many-to-many relationship in Core Data where a student entity can have multiple courses, and a course entity can have multiple students. My problem is in trying to figure out how to bind this relationship to the UI in Interface Builder.

I want to be able to add courses to a course array controller, then have those courses displayed in a popup menu in a NSTableView in the Edit Student window where you can add courses to a student.

This is what I have so far: http://vimeo.com/10671726

It's probably easier to understand from the video.

Thanks

© Stack Overflow or respective owner

Related posts about osx

Related posts about core-data