AppCode 2017.1 Help

Creating Groups

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 separate group or create a group hierarchy for tests.

A Group is an Xcode project model concept, so groups created with AppCode are fully compatible with Xcode.

A group is shown in the Project tool window and on the Navigation Bar with the folder icon /help/img/idea/2017.1/folder.png (if it has and underlying folder) or with the light folder icon /help/img/idea/2017.1/folder_light.png (if there is no underlying folder).

To create a new empty group

  1. In the Project tool window, select the destination directory node.
  2. Right-click on the selection or press N/A to invoke the context menu, and then choose New | Group.
  3. In the New Group dialog box that opens specify the group name. By default, AppCode creates underlying directory for the group to keep group and directory structure synchronized. If necessary, you can create a group without the directory; to do so, clear the Create folder check-box.
  4. Click OK to create the group. As soon as the group appears in the Project tool window, you can drag files and groups into it.

To group existing files and groups

  1. In the Project tool window, select several items (files and/or groups) - click on them keeping the key pressed.
  2. Right-click on the selection or press N/A to invoke the context menu, and then choose New | Group from Selection. Note that all selected items should be on the same level of the project hierarchy.
  3. In the New Group dialog box that opens specify the group name and click OK.

See Also

Last modified: 26 July 2017