Information Technology Reference
In-Depth Information
Note that there's no way to rename an entire project. The project name is embedded in the project folder, the
class names, the header files, the project nib files, and may also be embedded in various security options includ-
ing the code-signing features.
You can work on projects with identical names in Xcode, as long as the main Xcode project files are in different
folders and you don't try to edit shared files (if there are any) simultaneously in two different windows. If the
files are independent, it doesn't matter what the project is called.
Generally, the project name is for your convenience. It has no effect on the final application name, and duplic-
ated project names don't cause problems.
Importing existing files
Because Xcode's file templates aren't exhaustive, you often need to import into a project files created with other
editors, such as graphics, sound files, HTML web pages, PDF documents, and so on. During a build, these non-
standard file types are copied to the application folder without processing. Xcode includes preview features for a
small selection of file types, most obviously for graphics. But you must edit and prepare these files using other
tools.
To import a file or folder, right-click a group and select the Add Files to… menu option. You'll see the dialog
box in Figure 5.9. Navigate to the folder with the files, and then select the import options using the check box
and radio button.
FIGURE 5.9
Adding an image file to a project from the Pictures folder
Search WWH ::




Custom Search