• 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: Re-establishing KVO in Managed objects after undo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re-establishing KVO in Managed objects after undo (From: Gideon King <email@hidden>)
 >Re: Re-establishing KVO in Managed objects after undo (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Re-establishing KVO in Managed objects after undo
  • Next by Date: Re: Matching the style of a HUD?
  • Previous by thread: Re: Re-establishing KVO in Managed objects after undo
  • Next by thread: Re: the case of the missing scroll bar
  • Index(es):
    • Date
    • Thread