If you mean in a text edit is it so easy you can use observing mechanism on 
object that has changed. For instance you have a text edit app and you assume 
input to this app an NSString. Well you make a new class inherited from 
NSString and when this class's ivars changed you use 
addObserver:forKeyPath:options:context: and when you want to do something you 
use observerValue:forKeyPath:ofObject:change:context. For other purpose you can 
use this on NSFileHandle and NSData.

If it is helpful let me and list know?

Christ
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to