Binding NSTableView to NSSet
Binding NSTableView to NSSet
- Subject: Binding NSTableView to NSSet
- From: Koen van der Drift <email@hidden>
- Date: Wed, 04 Jul 2012 13:46:02 -0400
Hi,
I am trying to hookup a view based NSTableView to my CoreData model using bindings. The table should display various attributes of the entity 'Tags', which has a many-to-one relationship with my main entity. In my code I can see that the Tags entities are valid using NSLog statements, however I fail to use the correct binding to hook it up to the table. From the docs (at <https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/TableView/PopulatingViewTablesWithBindings/PopulatingView-TablesWithBindings.html#//apple_ref/doc/uid/10000026i-CH13-SW1>), I see I need to bind the table to an NSArrayController, however, my Tags are an NSSet.
How do I solve this?
Thanks,
- Koen.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden