• 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
KVO: subclasses registering keys fror same dependent key
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

KVO: subclasses registering keys fror same dependent key


  • Subject: KVO: subclasses registering keys fror same dependent key
  • From: Gerd Knops <email@hidden>
  • Date: Sun, 19 Mar 2006 15:19:05 -0600

Apparently (but not really surprisingly)

+ (void)setKeys:(NSArray *)keys triggerChangeNotificationsForDependentKey:(NSString *)dependentKey

does the wrong thing if a class and it's subclass use it on the same dependent key. Instead of merging the lists, the keys set by the subclass win and the ones set in the superclass are lost.

Is there any way to access the keys defined in the superclass and ADD to them rather than REPLACE them?

Gerd

_______________________________________________
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


  • Prev by Date: Fwd: BiDirectional NSLevelIndicator
  • Next by Date: Re: MVC, DBA, CoreData (was: CoreData : fundamental (or not) questions)
  • Previous by thread: Fwd: closing panel from a thread
  • Next by thread: Conditional Display Pattern
  • Index(es):
    • Date
    • Thread