nsresponder

Catching double click in Cocoa OSX

NSResponder seems to have no mouse double click event. Is there an easy way to catch a double click? ...

looking for a better way to activate and deactive background of text fields in my GUI (Cocoa OSX)

I have a small gui app that consists selectable groups, each groups has a disclosure button to display its sub-group, an image and a text field. When you are editting a text field and select another group or another text field I want to end editting on the old text field. Also, I only want the background of a text field to be display w...

What is the usage of NSResponder's indent:?

NSResponder has a method you override called - indent:, but unsure when it would normally be activated. ...

What is the difference between moveBackward: and moveLeft: when using NSResponder -interpretKeyEvents:?

I'm implementing a custom text box using -interpretKeyEvents: and am trying to figure out what the difference is between moveBackward: vs moveLeft: and moveForward: vs moveRight:. moveLeft: is bound to the left arrow and moveBackward: is bound to Ctrl + B. The documentation describes them almost identically and they seem to behave identi...

What can cause a subset of NSResponder action messages to be ignored?

I have created a tiny project that consists of an NSWindowController subclass which opens its window during the app delegate's applicationDidFinishLaunching: method. There are no custom NSWindow or NSView subclasses. I'm trying to override various NSResponder action messages. Some work, some don't. My window controller has the methods ...