• 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: KVO on a key path with nil intermediate properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KVO on a key path with nil intermediate properties


  • Subject: Re: KVO on a key path with nil intermediate properties
  • From: Sean McBride <email@hidden>
  • Date: Thu, 27 Jun 2013 11:20:53 -0400
  • Organization: Rogue Research Inc.

On Wed, 26 Jun 2013 18:51:34 -0700, Rick Mann said:

>Can one set up KVO on a property of a property if the intermediate one
>is nil, and then get notified when either changes? In practice, it seems
>not, as I don't get notified for either the intermediate property or the
>leaf property.

As you discovered 5 minutes after posting :), this works as expected.  I do it all the time.

Cheers,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada



_______________________________________________

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: 
 >KVO on a key path with nil intermediate properties (From: Rick Mann <email@hidden>)

  • Prev by Date: voiceover question
  • Next by Date: Transient property KVO on private queue context save
  • Previous by thread: Re: KVO on a key path with nil intermediate properties
  • Next by thread: voiceover question
  • Index(es):
    • Date
    • Thread