Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS Objective-C Basics (Retired) Introduction to Objective-C From Structs to Objects

@implementation and @interface

How is he flipping back and forth between the two when coding?

2 Answers

Stone Preston
Stone Preston
42,016 Points

the keyboard shortcut is control + command + up/down arrow

Mike Baxter
Mike Baxter
4,442 Points

There's a weird bug in Xcode that prevents it from working all the time. I think you have to open a new tab to get it to work properly. I think there's an easier fix, but I can't remember it.

Also, Option + Click opens up the assistant editor to view things side-by-side, and Command + Return closes it.

Mike Baxter
Mike Baxter
4,442 Points

I just remembered, Command + Option + Return also opens the assistant editor. It's extremely useful in programming shaders for 3D graphics.