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


File Creation In Xcode

Hi Guys,

When I create a New Project my files in the Project Navigator look like the following:

noneAppDelegate.h noneAppDelegate.m noneMasterViewController etc...

Is there a reason why "none" is attached to the file name?

3 Answers

Hey Lou,

When you create a new Xcode project, on the screen you enter the Project details, like its name, Company Identifier and so on, there is a text field to for the Class Prefix.

If you leave it empty as the default (it shows you something like XYZ I guess), you'll have the files:

AppDelegate.h, MasterViewController.h and so on, otherwise it will put in front of their names whatever you've specified on there.

Hope that helps ;)

Thanks Pavel!

You're welcome!