NSTextView delegate methods in NSTextView subclass.
NSTextView delegate methods in NSTextView subclass.
- Subject: NSTextView delegate methods in NSTextView subclass.
- From: Тимофей Даньшин <email@hidden>
- Date: Wed, 6 May 2009 13:35:30 +0400
Hello.
I have subclassed NSTextView and I am using that subclass as a field
editor for an NSTextField. On certain events in the field editor, i
need to take certain actions again in the field editor, and as of now
i have to use delegate methods in the TextField's delegate to call
methods in the TextView, even though the messages that call those
delegate methods, originate in the TextView.
Is there a way to receive the notifications on those events
(triggering the delegate methods) in the NSTextView subclass?
The one I am particularly interested in is -controlTextDidChange;
Thank you for your help in advance.
Timofey.
_______________________________________________
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