Populating Projects
You can add files of various formats to your project and organize them in groups. Use available AppCode or Xcode templates to create files with minimum efforts.
If necessary, you can also add empty files, create new file templates and file types.
Create files
AppCode provides file templates for most of the languages that it supports. This lets you create files with the initial content appropriate for the file purpose. For example, there are file templates for Swift types and Objective-C classes, JavaScript files, XSLT style sheets, and so on. Moreover, you can use all default Xcode templates for creating files in AppCode.
Generally, the filename extension for a template-based file is set automatically, so you don't need to specify it. However, if there are several extensions allowed for the file type, you will be able to choose one. For example, when creating a new class, you will be able to choose between .m extension for Objective-C class and .mm extension for Objective-C++ class.
Create groups
A group is an Xcode project model concept. Groups created with AppCode are fully compatible with Xcode.
Groups allow bringing order to the project files and this is their only purpose. You can arrange project items in any way you like. For example, you can organize Model, View, and Controller classes in a separate group or create a group hierarchy for tests.
A group is shown in the Project tool window ⌥ 1 and on the Navigation bar with the folder icon (if it has an underlying folder) or with the light folder icon
(if there is no underlying folder).
Create folder references
As opposed to groups in AppCode, folder references are physical structures. The folder references allow you to organize your files into folders on your file system keeping the same folder structure in AppCode. Therefore, you can manage your asset files from outside of the IDE.
Use that folders as a storage place for project resources that do not need to be compiled (for example, icons). The IDE doesn't consider the source files in such folders as a part of a project.
Create a folder reference
In the Project tool window ⌥ 1, select the desired group.
Right-click the selection or press ⌘ N to invoke the context menu, and then choose New | Folder Reference.
In the New Folder Reference dialog, specify the folder name. You can also change the group and target here if required.
Click OK to create the folder reference and respective physical folder.