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