NSTextField notification if selection changed
NSTextField notification if selection changed
- Subject: NSTextField notification if selection changed
- From: David Alter <email@hidden>
- Date: Mon, 27 Apr 2009 10:48:06 -0700
How can I get notification if the Selection changed in a NSTextField. This
works with a NSTextView by setting up the delegate -
(void)textViewDidChangeSelection:(NSNotification *)aNotification
A NSTextField uses a NSTextView for its editing. And the NSTextField is the
delegate to the NSTextView. If I need to get the selection changed should I
be subclassing NSTextField and placing the textViewDidChangeSelection
delegate method in there. Or is there a simpler solution to this.
thanks for the help
-dave
_______________________________________________
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