iOS configuring PCH files and using

Source: Internet
Author: User

Using PCH files, you can implement macro definitions that store shared information and enable developers to develop projects efficiently and quickly. Here is the configuration process for PCH files.

1, first create a project

2. Create PCH file in Project (here's a little pit!)

3, on the basis of 2 new file ...----->other----->pch File Click Next and you need to be aware that targets must be checked!!!

4, after clicking Creat, in the project targets inside select build settings after search prefix Header. (Project_dir)/$ (PROJECT_NAME)/(PCH filename) is entered after double-clicking. pch this format)

5, the PCH file is configured successfully, then you can set up and use the PCH file

(if there are deficiencies or the wrong, thank you for correcting.) I hope everyone is getting better!!)

iOS configuring PCH files and using

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.