为什么在不导入Foundation Framework时会关闭Foundation Objects的语法突出显示

时间:2013-06-14 17:10:39

标签: objective-c xcode foundation

我的* -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对象都会关闭所有语法高亮显示?代码仍然可以编译并正确运行。

0 个答案:

没有答案