Re: Limited-access, KVO-compliant mutable array?
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