I downloaded XCDFormInputAccessoryView from github https://github.com/0xced/XCDFormInputAccessoryView. I tried to run it in xcode and receive numerous warnings of
instance variable "---" is being directly accessed. Any help??
- (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)];
}];
}
Add -Wno-direct-ivar-access
to the Warning Flags under Build Settings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With