The role of common files for IOS prefix.pch programs

Source: Internet
Author: User

#import<Availability.h>#ifndef __iphone_5_0#warning"This project uses features only available in IOS SDK 5.0 and later."#endif//__OBJC__ This macro, which is defined by default in all. m and. mm Files#ifdef__objc__/  /  If this global header file or macro only needs to be used in. m or. mm files,//  please write the header file or macro to #ifdef __objc__     #import<UIKit/UIKit.h>#import<Foundation/Foundation.h>#defineABC 55#import  "NJPerson.h"#ifdefDEBUG #define njlog (...) NSLog (__va_args__)#else#defineNjlog (...)#endif#endif/*PCH files are commonly used to define global macros for importing header files that can be used globally to customize the log*/#defineNumber 10#import "NJGlobal.h"//#import "NJPerson.h"

The role of common files for IOS prefix.pch programs

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.