• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How hard is it to make a NSOrderedSetController?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How hard is it to make a NSOrderedSetController? (From: Daryle Walker <email@hidden>)
 >Re: How hard is it to make a NSOrderedSetController? (From: Keary Suska <email@hidden>)
 >Re: How hard is it to make a NSOrderedSetController? (From: Daryle Walker <email@hidden>)

  • Prev by Date: Re: How hard is it to make a NSOrderedSetController?
  • Next by Date: NSGradient & NSTextField’s focus ring
  • Previous by thread: Re: How hard is it to make a NSOrderedSetController?
  • Next by thread: NSGradient & NSTextField’s focus ring
  • Index(es):
    • Date
    • Thread