__objc__
表示宏内引用的文件确保只被使用Objective-C
语言的文件所引用,保证引用关系的清晰。
#ifdef __OBJC__ #import <UIKit/UIKit.h> #import <Foundation/Foundation.h> #import <AFNetworking.h> #import "SDWebImageManager.h" #import "UIImageView+WebCache.h" #import <BlocksKit.h> #import <BlocksKit+UIKit.h> #import <FrameAccessor.h> // #import <ReactiveCocoa.h> #import "NSDictionary+NotNullKey.h" #import "EXTScope.h" #import "UIImage+Tint.h" #import "SCNavigation.h" #import "SCActionSheet.h" #import "V2DataManager.h" #import "V2NotificationManager.h" #import "V2SettingManager.h" #import "V2CheckInManager.h" #import "SCWeiboManager.h" #import "V2Helper.h" #endif