Ali Ali - 1 year ago 103
Objective-C Question

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

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?

Answer Source

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

+ + /

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

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download