hello,
i am trying to learn to use xcode and interface builder and all that. i know c++ very well, and know windows programming pretty well. i am having trouble finding out where to start with this xcode stuff.
so i am starting with some sample code and trying to make a simple change.
the ToolbarSample code is here:
http://developer.apple.com/samplecode/ToolbarSample/index.html
is it basically a NSTextView with a simple toolbar.
what I want to do is filter some keydown events, and when "enter" key is hit, insert some text to the NSTextView. do i need to subclass the NSTextView? or do i just need to set up a first responder somehow? how do i catch the key events?
thanks for any help!
i am trying to learn to use xcode and interface builder and all that. i know c++ very well, and know windows programming pretty well. i am having trouble finding out where to start with this xcode stuff.
so i am starting with some sample code and trying to make a simple change.
the ToolbarSample code is here:
http://developer.apple.com/samplecode/ToolbarSample/index.html
is it basically a NSTextView with a simple toolbar.
what I want to do is filter some keydown events, and when "enter" key is hit, insert some text to the NSTextView. do i need to subclass the NSTextView? or do i just need to set up a first responder somehow? how do i catch the key events?
thanks for any help!