Re: How hard is it to make a NSOrderedSetController?
Re: How hard is it to make a NSOrderedSetController?
- Subject: Re: How hard is it to make a NSOrderedSetController?
- From: Daryle Walker <email@hidden>
- Date: Sun, 19 Feb 2017 02:51:14 -0500
> On Feb 19, 2017, at 2:30 AM, Daryle Walker <email@hidden> wrote:
>
> There is one problem though. The button for “add:” works; it adds a new entry. But the button for the “remove:” action only works once. Worse, it only removes the last added row, no matter which row is selected! Another symptom is the rows I add during “init:”; I can’t get rid of any of them even if I don’t add new rows. It’s like all the rows are fixed as soon as the next row is created (except for the row before the window is created; they’re always fixed). I don’t know if it’s a problem with this technique or normal NSArrayController and/or Core Data shenanigans.
I forgot to add a binding between the table’s and array-controller’s selection index-lists. (I already had one for content, of course.)
—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
_______________________________________________
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