Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>First of all, take a look at the default project structure. While it's not perfect, there are some default "Groups" in Xcode. Use those as a general guideline. (As you mentioned, Groups are not file system folders, although when you import resources you are prompted with the option to make groups for folders.) </p> <p>While there's not much official convention regarding the structuring of files, there are some things you can do, like I do, to scratch that organizational itch. I make a few subfolders in my project directory on my disk. Here are some of them:</p> <ul> <li><p><strong>Audio:</strong> Audio files also might get their own group.</p></li> <li><p><strong>External Libraries:</strong> If I'm importing other people's code, I'll make a group called "libraries" and then a subgroup for each one. </p></li> <li><p><strong>Images:</strong> In there, you can make subfolders/subgroups if you like. (One for icons, one for the main menu, etc.) </p></li> <li><p><strong>Managed Objects:</strong> When I use Core Data in my projects, I'll often generate subclasses through Xcode's modeling tools. I like to keep those in a separate group and a seperate folder as well.</p></li> <li><p><strong>View Controllers:</strong> Depending on the project, I might group my view controllers differently. For example, I might keep all of my "editors" and "viewers" in distinct groups.</p></li> </ul> <p>Ultimately, Groups are for making your project management easier and Folders are for making file management easier. It's totally up to you how to do this. As Bill Brasky points out, at compile time, none of the organization really makes a difference. (If you want to go crazy, take a look at the "Build Phases" screen in Xcode 4. The copy phase is a jumble of all your relevant files.)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload