【发布时间】:2013-03-28 02:52:25
【问题描述】:
我从 github https://github.com/0xced/XCDFormInputAccessoryView 下载了 XCDFormInputAccessoryView。我试图在 xcode 中运行它并收到许多警告
正在直接访问实例变量“---”。有什么帮助吗??
- (void) setTextInputs:(NSArray *)textInputs
{
// Some day, IBOutletCollection will be properly sorted, in the meantime, sort it!
_textInputs = [textInputs sortedArrayUsingComparator:^NSComparisonResult(UIView *view1, UIView *view2) {
return [@(view1.tag) compare:@(view2.tag)];
}];
}
【问题讨论】:
标签: objective-c clang