Re: -observeValueForKeyPath:ofObject:change:context: only, > defined for abstract class.
Re: -observeValueForKeyPath:ofObject:change:context: only, > defined for abstract class.
- Subject: Re: -observeValueForKeyPath:ofObject:change:context: only, > defined for abstract class.
- From: Scott Anguish <email@hidden>
- Date: Sun, 8 Jan 2006 17:50:52 -0500
On Jan 8, 2006, at 11:43 AM, Todd Ransom wrote:
There is a good example of how to implement undo using KVO in Aaron
Hillegass' book:
http://www.bignerdranch.com/products/cocoa1.shtml
I think it is based on NSDocument but it should be easy to adapt.
Maybe one of the Apple folks can explain why the example calls
super. It sounds like a documentation bug.
it calls super because the superclass may want to have a chance at
acting upon the same change notification.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden