How to toggle between .h and .m in Xcode 4

前端 未结 4 714
無奈伤痛
無奈伤痛 2021-01-30 15:58

Just installed Xcode 4 so far so good, except that Apple changed all the keyboard shortcuts! Anyone know how to toggle between .h and .m?

4条回答
  •  甜味超标
    2021-01-30 16:36

    Apple changed all sorts of shortcuts, but to switch between header and implementation, the new shortcut is,

    + + /

    You can change it back to the previous + + / in Preferences > Key Bindings.

    Look for the Jump to Next Counterpart and Jump to Previous Counterpart commands.

    If you are working on a big screen, you could use the Assistant layout's split view, and have the .h and .m files side by side.

提交回复
热议问题