Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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.