• 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
NSArrayController subclass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSArrayController subclass


  • Subject: NSArrayController subclass
  • From: Bertrand Landry Hetu <email@hidden>
  • Date: Mon, 20 Sep 2004 22:35:34 -0700

Hi,

I'm trying to do a subclass of NSArrayController that would add accessors similar to canAdd, canRemove. And I'm running in the following issue: I'm not getting changes as the selection changes.


I added [self setKeys: [NSArray arrayWithObject: @"selectionIndexes" triggerChangeNotificationsForDependentKey: @"canDoSomething"] to my +(void)initialize and I expected it to work but no.


Does that mean that triggerChangeNotificationsForDependentKey can only be used for local values ? And is there anything else I can do (other than overriding setSelection* )

Thank you!

Bertrand.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSArrayController subclass
      • From: Scott Stevenson <email@hidden>
  • Prev by Date: Re: newbie question re text field and special glyphs
  • Next by Date: Re: NSArrayController subclass
  • Previous by thread: Re: [NSCursor set] not setting the cursor
  • Next by thread: Re: NSArrayController subclass
  • Index(es):
    • Date
    • Thread