0

我的 *-Prefix.pch 文件如下所示

//
// Prefix header for all source files of the 'stuff' target in the 'stuff' project
//

#import <Availability.h>

#ifndef __IPHONE_4_0
#warning "This project uses features only available in iOS SDK 4.0 and later."
#endif

#ifdef __OBJC__
    #import <UIKit/UIKit.h>
    #import <Foundation/Foundation.h>
#endif

那么,为什么当我从 Xcode 4.6.2 中的文件中删除 #import 时,所有 Foundation Framework 对象的所有语法突出显示都会关闭?代码仍然可以正确编译和运行。

4

0 回答 0