• 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: Lion doesn't like tricky.key.paths in bindings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lion doesn't like tricky.key.paths in bindings?


  • Subject: Re: Lion doesn't like tricky.key.paths in bindings?
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 28 Jul 2011 19:20:23 -0700

On 2011 Jul 24, at 09:05, Clark Cox wrote:

> Well, is the suggestion correct? That is, is there any way that the
> value of barDate could have changed without sending the appropriate
> KVO notification (did you, for example change the value of barDate
> without going through the setter?)

Thank you, Clark.  I've looked at and searched the code quite a bit, and am confident that I'm not accessing instance variables directly.  And there is definitely something different in Lion.

Has anyone else been successful binding to tricky.key.paths in Lion?  By "tricky", I mean that the last "word" in the key path is not an attribute but is in fact a method which formats a number or date into a string.  Example of a tricky key path:

     "someDateAttributeKey.someFormattingMethod"

where
     someDateAttributeKey is an attribute whose value is an NSDate
     -someFormattingMethod is a method defined in a category of
         NSDate which returns a NSString.


_______________________________________________

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

  • Follow-Ups:
    • Re: Lion doesn't like tricky.key.paths in bindings?
      • From: Kyle Sluder <email@hidden>
References: 
 >Lion doesn't like tricky.key.paths in bindings? (From: Jerry Krinock <email@hidden>)
 >Re: Lion doesn't like tricky.key.paths in bindings? (From: Clark Cox <email@hidden>)

  • Prev by Date: Re: Calculations in a tableview
  • Next by Date: A trap with full screen in Lion
  • Previous by thread: Re: Lion doesn't like tricky.key.paths in bindings?
  • Next by thread: Re: Lion doesn't like tricky.key.paths in bindings?
  • Index(es):
    • Date
    • Thread