• 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
Using setKeys:triggerChangeNotificationsForDependentKey with NSDictionary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using setKeys:triggerChangeNotificationsForDependentKey with NSDictionary


  • Subject: Using setKeys:triggerChangeNotificationsForDependentKey with NSDictionary
  • From: "J. Scott Anderson" <email@hidden>
  • Date: Tue, 1 Mar 2005 16:01:25 -0600

MyClass has a NSDictionary * properties ivar. How do I use the setKeys:triggerChangeNotificationsForDependentKey with the NSDictionary. I have successful using it with straight ivars. Here is what I current have:

+ (void)initialize
{
[MyClass setKeys:
[NSArray arrayWithObjects: @"properties.firstKeyl", nil]
triggerChangeNotificationsForDependentKey: @"properties.secondKey"];
}


When trying to run this the application exits with a signal 5 (SIGTRAP). I get "valueForUndefinedKey" errors. It is telling me it is not key value coding-compliant for the displayPatternValue1. Yes, I have been combing through the archives and the documentation. No. I have not found my answer. At least I have found nothing that I perceived as the answer. I am sure it is just a problem with asking the right question.

Thank you for any help or links to the answer.
 _______________________________________________
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: Re: NSURLDownload and server errors
  • Next by Date: Re: Cocoa autoscroll question
  • Previous by thread: Window > Customize Toolbar...
  • Next by thread: Re: Cocoa autoscroll question
  • Index(es):
    • Date
    • Thread