我从 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)];
}];
}