On Thu, Mar 6, 2014, at 10:30 AM, Daniel Luis dos Santos wrote: > I am developing a custom textfield in Cocoa. To handle the backspace > character I should be defining :
Hold up. It's fairly very rare to subclass NSTextView and do custom processing there. Why do you feel the need to do this? Cocoa already has a delegation mechanism for customizing the behavior of certain keys. Look up -doCommandBySelector: and -control:textView:doCommandBySelector:. --Kyle Sluder _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
