Overriding NSTextView's toggleAutomaticQuoteSubstitution, special considerations?
Overriding NSTextView's toggleAutomaticQuoteSubstitution, special considerations?
- Subject: Overriding NSTextView's toggleAutomaticQuoteSubstitution, special considerations?
- From: Philip Dow <email@hidden>
- Date: Tue, 11 Dec 2007 12:49:48 -0800
I plan to override NSTextView's toggleAutomaticQuoteSubstitution: to
handle the toggling myself in such a way that a group of text views in
the application is notified of the change (I've set up a user defaults
binding in each one and will just change the user defaults value from
my override).
Does that toggle method just reverse the value, or does it do
something else as well that I need to be aware of, something that
won't be done when I override and don't call super's implementation?
I suppose I could pass the reversed value to user defaults *and*
call's super's implementation with the only ill effect being that the
setter is called twice, but if it isn't necessary I'd prefer not to.
~Phil
_______________________________________________
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