• 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: Why aren't my bindings firing?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why aren't my bindings firing?


  • Subject: Re: Why aren't my bindings firing?
  • From: Charles Srstka <email@hidden>
  • Date: Fri, 27 Jun 2008 17:53:29 -0500

On Jun 27, 2008, at 5:17 PM, Keary Suska wrote:

If you aren't overriding +automaticallyNotifiesObserversForKey: to return
NO, you should not be calling willChangeValueForKey/ didChangeValueForKey in
your setters. They are KVC-compliant as shown. Fix that, then see if the
problem goes away.

Actually, that's what I tried first - I added the willChange/didChange methods to see if that would fix the problem. It didn't - it behaves the same way with or without those methods. I've also tried overriding +automaticallyNotifiesObserversForKey: to return NO, but it turns out that that method never even ends up getting called (I put a log in it to check).


Thanks,
Charles
_______________________________________________

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: 
 >Re: Why aren't my bindings firing? (From: Keary Suska <email@hidden>)

  • Prev by Date: Re: NSMutableArray help
  • Next by Date: Opening a Panel
  • Previous by thread: Re: Why aren't my bindings firing?
  • Next by thread: Re: Why aren't my bindings firing?
  • Index(es):
    • Date
    • Thread