ios 预编译.h文件

1.新建pch文件

ios 预编译.h文件_第1张图片

//
//  PrefixHeader.pch
//  ShanXi
//
//  Created by apple on 2019/4/1.
//  Copyright © 2019年 suncere. All rights reserved.
//

#ifndef PrefixHeader_pch
#define PrefixHeader_pch

#import "AppTool.h"
#import "Datas.h"
#import "AnimationTool.h"
#import "ScreenTool.h"

// Include any system framework and library headers here that should be included in all compilation units.
// You will also need to set the Prefix Header build setting of one or more of your targets to reference this file.

#endif /* PrefixHeader_pch */

2. 添加pch文件

ios 预编译.h文件_第2张图片

你可能感兴趣的:(iOS/OC,ios入门/OC)