• 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: Limited-access, KVO-compliant mutable array?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Limited-access, KVO-compliant mutable array?


  • Subject: Re: Limited-access, KVO-compliant mutable array?
  • From: Quincey Morris <email@hidden>
  • Date: Tue, 10 Jul 2012 23:55:31 -0700

On Jul 10, 2012, at 23:45 , Quincey Morris wrote:

> You can then have <publicKey>'s getter return '[self valueForKey: @"privateKey"]'. That solves the infinitely-recursing-getter problem, but still returns an immutable observable proxy.

Ugh, that's not right. You have to generate the <publicKey> KVO notifications manually in order to make the proxy properly observable. That means calling suitable will/didChange… methods in suitable places.


_______________________________________________

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: 
 >Limited-access, KVO-compliant mutable array? (From: Rick Mann <email@hidden>)
 >Re: Limited-access, KVO-compliant mutable array? (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Limited-access, KVO-compliant mutable array?
  • Next by Date: Re: Limited-access, KVO-compliant mutable array?
  • Previous by thread: Re: Limited-access, KVO-compliant mutable array?
  • Next by thread: Re: Limited-access, KVO-compliant mutable array?
  • Index(es):
    • Date
    • Thread