I have this Core Data-backed drawing app (more of a CAD app). It's got a bunch of different types of Core Data Entity, some of which have direct representations in the window, and some which don't. The user can select the drawn ones, and I'm trying to use an NSArrayController to manage that selection (so my Inspector window can bind to something and operate on the selected elements).
The problem is that I have to specify an NSManagedObject subclass in IB for the NSArrayController, so it seem that I have to make a more general base class in Core Data for the objects that are selectable, is that right? Alternatively, I could point NSArrayController at my own NSArray property and manage that myself, but it seems clunkier (keeping it in sync with what's in Core Data). Has anyone else dealt with an issue like this? -- Rick
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com