我已下载TapkuLibrary
并尝试在Xcode Excepted'上运行它:'出现在两个地方我该怎么办呢
- (instancetype) initWithFrame:(CGRect)frame symbol:(id)symbol normalType:(TKInputKeyType)normal selectedType:(TKInputKeyType)highlighted runner:(BOOL)runner NS_DESIGNATED_INITIALIZER;
- (instancetype) initWithStyle:(UITableViewStyle)style NS_DESIGNATED_INITIALIZER;
答案 0 :(得分:0)
我想出答案
这是属性
__attribute__((objc_designated_initializer))
所以我必须在我的pch中定义它
#ifndef NS_DESIGNATED_INITIALIZER
#if __has_attribute(objc_designated_initializer)
#define NS_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
#else
#define NS_DESIGNATED_INITIALIZER
#endif
#endif
所以我可以在xCode 5中使用它