Introduction to project documents
- Create a new project with 3 folders on the left
- The 1th folder contains all the code files and data files related to the project.
- Supportingfiles contains configuration files and other data files
- The final ui-tests folder is mainly used for unit testing, we do not use it at this time, so we do not consider it first.
- Info.plist files, configuration information files for projects
- PCH file, a header file for all common classes or macros in a project
info.plist File
- A file with a name of "project name-info.plist" was created for the project before Xcode6, and it was info.plist file after Xcode6.
- This file is primarily used to save basic configuration information for the current project
- The contents of the Info.plist file are actually in XML format and can be seen through "right-click", "Open as SourceCode".
- Saved information, such as the application version number, applies the minimum system version number that is required to run.
- Application startup to load the storyboard file name
- Common key:
- Bundle display Name the key of the application name, if it is too long, it cannot be fully displayed.
- The only indication of the bundle identifier application, if identical, will be overwritten.
- Bundle versions String short the version number at the end of the application release
- Bundle version is for an internal version number.
- Supported interface Ortations identifies the direction supported by the device, corresponding to the "project", "General", "Deployment Info", "Device Orientation". iphone only supports 3 kinds of directions, does not support upside-down rotation, Portrait (vertical screen), Landscape left (horizontal screen to the left), Landscape right (Landscape)
Note: Do not include the Info keyword in the plist file that you created. PCH file
UI Basics-Introduction to project Files