> On 2015 Jan 16, at 20:58, Rick Mann <rm...@latencyzero.com> wrote:
> 
> A "Part" in my app has a set of geometric primitives, and a set of labels 
> (both have a common base class). These are two separate sets (arrays) on the 
> part. But when editing the part, they can each be clicked on  and edited. I 
> want to use an NSArrayController to manage the selection

Consider a more standard approach: Two array controllers, one for each 
collection.  I sense you don’t want to do that because you want only one item 
to be “selected”.  That seems like an unnecessary restriction.  You can have a 
set of geometric primitives, with a selection, and a separate set of labels, 
with a selection.  True, the user can only edit one of these at a time, but the 
other selection doesn’t mind sitting idly by.

Remember, nonstandard designs always end up taking way more development time 
than expected.
_______________________________________________

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

Reply via email to