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
AJ Perez
Courses Plus Student 969 PointsIn the first Objective-c video...
as he says, "let's create an implementation for these setters and getters...", he highlights 2 statements and then somehow ends up on a different set of code. He is still on the "sphere.h" folder and never clicked a different one. can someone tell me what he did? thanks
3 Answers
Stone Preston
42,016 Pointshe is using the keyboard shortcut command + control + up/down arrow to switch between the header and implementation files. When you use the shortcut, Xcode doesnt update the sidebar to show the file you switched to as the current file, it stays on the old one.
AJ Perez
Courses Plus Student 969 Pointsoh! so he's actually switching over to sphere.m?
Stone Preston
42,016 Pointsyes hes in the header file sphere.h, then he presses the shortcut, and switches over to sphere.m
AJ Perez
Courses Plus Student 969 Pointsthanks!