Re: Re-establishing KVO in Managed objects after undo
Re: Re-establishing KVO in Managed objects after undo
- Subject: Re: Re-establishing KVO in Managed objects after undo
- From: Gideon King <email@hidden>
- Date: Sun, 2 May 2010 05:35:21 +1000
It's inherited code from someone else, and am trying to work that out myself too...luckily there are only 5-6 of them, so I should be able to sort it out.
Just looking at it now, I think a little refactoring should sort it out, and remove the need for KVO.
On 02/05/2010, at 5:23 AM, Sean McBride wrote:
> Gideon King (email@hidden) on 2010-05-01 09:42 said:
>
>> Hi, I have some places in my code where I have managed objects that need
>> to observe various key paths.
>
> Why? (I'm curious... I've never used such a pattern.) Perhaps instead
> you could override setters so that they perform other actions in
> addition to just changing the attribute/relationship.
>
> Sean
>
>
_______________________________________________
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