I'm implementing UIKeyInput
, UITextInputTraits
, and UITextInput
and with that I'm required to implement:
- (NSArray *)selectionRectsForRange:(UITextRange *)range
{
return nil;
}
However, in analyzing my project I get: "nil returned from a method that is expected to return a non-null value".
What would be the correct way to get rid of this? Should I do an abort?