我的项目在更新到 7.3 版本后停止编译。目前主要问题是在我想返回的头文件中UIColor
。xCode 告诉我Expected a type
错误。有没有办法处理这种情况?
编辑:我的代码(没什么特别的)
#import <Foundation/Foundation.h>
@interface NSString (Color)
- (UIColor *)rgbColor; //Expected a type
- (UIColor *)hexColor; //Expected a type
@end