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

Bachir Kurdi
Bachir Kurdi
10,098 Points

how do i go over to the implementation site ?

how do i go over to the implementation site ?

5 Answers

Stone Preston
Stone Preston
42,016 Points

Doug changes to the implementation file using an xcode shortcut command + control + up/down arrow. This shortcut simply swaps between the interface and implementation of whatever class you are currently on.

when you switch files using this shortcut the sidebar does not update, so it looks like he is still on the interface in the sidebar when he in fact switched to the implementation file.

Nathan F.
Nathan F.
30,773 Points

Are you asking where you write the implementation in your Sphere class in an Objective-C program? Your implementation belongs in the Sphere.m file. Let me know if I misunderstood the question.

Bachir Kurdi
Bachir Kurdi
10,098 Points

oh yes i see it now, its because in the video it does not look like he change from the sphere.h to sphere.m :D

Nathan F.
Nathan F.
30,773 Points

Yeah, I noticed that too. It looks like sphere.h is highlighted, but there's actually another open tab with the sphere.m. Anyway, glad that helped! :D