The role of the ios-pch file & Xcode How to create a PCH file:

Source: Internet
Author: User

In the old version of Xcode, after the creation of the project will automatically create a PCH file, in which often write some frequently used framework header files or some macro-defined URL address, which can be used globally, but in the XCODE6 project created after the creation of the PCH file is no longer. PCH is all called "Precompiled Header", which is a precompiled header file, which helps to save development time and maintain code maintenance time.

Creation Mode New File:

Take the name Next and don't say more ...

After the file is created, the file is not available at this time and needs to be set up in the project:

The write format is as follows: $ (srcroot)/project name/pch file name. pch

This makes it possible to use the.







The role of the ios-pch file & Xcode How to create a PCH file:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.