View Full Version : Custom View, NSTextView and Responders

Feb 28, 2007, 06:04 PM
How can I create a custom view that contains an NSTextView that responds to responders of keyDown:
Also how do I make the NSTextView with scrollbars if I'm creating it like this

noteTaker = [[NSTextView alloc] initWithFrame:frameRect];
[self addSubview: notetaker];

EDIT: Or could I do this as setting the textView to execute an action and check for the tab key being pressed using [sender event] or something like that, and if the tab is pressed insert the character?