Development Tools/Materials:
1. Mac
2, Xcode (I'm currently using the latest version of Xcode Xcode 7.3)
Part of the history of PCH files:
Definition: PCH is all called "Precompiled Header", which is the precompiled header file , which helps to save development time and code maintenance time .
Development: In the old version of Xcode, after the creation of the project will automatically create a PCH file, in which often write some often used framework header files or some macro-defined URL address , which can be defined in the global use, but in the Xcode6 when the project is created, it no longer comes with the PCH file.
Method/Step:
1. Open Xcode to create the project. Of course, if you already have a project, it is possible to add a PCH file on the original basis, so our code will be more concise. Then find the supporttng files directory and we need to add the PCH file here
2. In this directory, press COMMAND + N to create the file, locate the PCH file under other in iOS, then click Next and follow the prompts to create it.
3, follow the following introduction, continue to operate
4, change the tick Select, change fill Fill, the last greate can be.
How do I add PCH files inside Xcode??