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

The instructor thats making videos on obj c, when creating the files why do he separate them?

For example, all the classes he making up, functions, variable, arrays, pointers; shouldn't they all be in one file or is this just an example to help me understand how to use C or do I suppose to separate files to get the program running correct? If you still don't understand what I'm trying to say "notice how he say now lets make another file under my program" Why is he doing that?

1 Answer

Quwan, if you are in Objective C basics and learning C, the instructor is probably not separating any files because they just want you to learn the language, not file management techniques. You won't learn about interface building or file layout in Xcode until you take some of the courses where you are building applications with the instructor.

If you have any questions, feel free to ask!