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

Posted by nciagra on Stack Overflow See other posts from Stack Overflow or by nciagra
Published on 2010-06-17T02:35:41Z Indexed on 2010/06/17 2:42 UTC
Read the original article Hit count: 360

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 identically in practice.

I'm assuming this is just a holdover from Vim? Does anyone know what the real difference is? Should moveBackward: just call my moveLeft: implementation?

Thanks a lot,

Nick

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about cocoa