The role of PCH files

Source: Internet
Author: User

PCH file and how to manually configure it after xcode6.0

Category: iphone 2014-12-04 22:44 1020 People read reviews (0) favorites report

Xcodepch

The use of PCH during development is a more efficient option. Xcode is automatically included in this file during the compilation process.

This means that the contents of this file are visible to all of your. m files.

Using this feature I usually do these things in this file:

1 commonly used macros.

2. h files that may need to be frequently included in the development

3 log output Switch control. Output is not required in release version.

I don't quite understand that the PCH was not automatically added to the new project after xcode6.0.

Manual configuration is actually a very simple process.

First AddFiles

Then you need to open the use of the PCH in Buildsettings and configure the path to the PCH file.

You can do it!!


The role of PCH files

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.