NSTextField and NSTextView different notifications?
NSTextField and NSTextView different notifications?
- Subject: NSTextField and NSTextView different notifications?
- From: <email@hidden>
- Date: Tue, 15 Feb 2005 7:28:06 +0000
Hello, it's me again. Just one more question. I was adding some notifications to my doc-based app tonight, just to monitor textDidEnd stuff. I have several NSTextField's, and 2 NSTextView's. I noticed that they respond to different notifications (this being probably because they inherit from different classes). Anyway, I was wondering if there was a single notification that I could use for both NSTextField and NSTextView. Right now I have seperate notifications registered with the defaultCenter: NSTextDidEndEditingNotification for the NSTextView, and NSControlTextDidEndEditingNotification for the NSTextFields.
Anyway, my real question is: Is there one notification I can use to handle both types of controls? I don't mind using two, it's not a big deal, but if there's only one out there to use, that would be better. Thanks.
James
_______________________________________________
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