• 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: Cocoa binding problem/bug - setKeys not inherited?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa binding problem/bug - setKeys not inherited?


  • Subject: Re: Cocoa binding problem/bug - setKeys not inherited?
  • From: mmalcolm crawford <email@hidden>
  • Date: Thu, 3 Jun 2004 20:33:36 -0700

On Jun 3, 2004, at 6:09 PM, Brett Powley wrote:

I did try to use [self class] rather than the class name in the superclass to see if that made a difference:

You're sending the class message to a class object -- you'll get back the class 'Class'.

If, as the example in the documentation suggests <http://developer.apple.com/documentation/Cocoa/Conceptual/ KeyValueObserving/Concepts/DependentKeys.html>, you use

[self setKeys:
[NSArray arrayWithObjects:@"termIndexLevel1", nil]
triggerChangeNotificationsForDependentKey:@"termsAtLevel2"];

you should find that it works correctly...

mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Cocoa binding problem/bug - setKeys not inherited?
      • From: mmalcolm crawford <email@hidden>
References: 
 >Cocoa binding problem/bug - setKeys not inherited? (From: Brett Powley <email@hidden>)

  • Prev by Date: Sample Movie quickies
  • Next by Date: Re: Cocoa binding problem/bug - setKeys not inherited?
  • Previous by thread: Cocoa binding problem/bug - setKeys not inherited?
  • Next by thread: Re: Cocoa binding problem/bug - setKeys not inherited?
  • Index(es):
    • Date
    • Thread