我从github下载了XCDFormInputAccessoryView https://github.com/0xced/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)];
}];
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2408 次 |
| 最近记录: |