nui
nui copied to clipboard
UITextField different textRect for editing and static text.
Hi, i am have issue with custom UITextfield which has different textRect and editingTextRect. In UITextField+NUI.m found override_editingRectForBounds
- (CGRect)override_editingRectForBounds:(CGRect)bounds {
return [self textRectForBounds:bounds];
}
Seems to be it is a bug, i guess method implementation should be:
- (CGRect)override_editingRectForBounds:(CGRect)bounds {
return [self override_editingRectForBounds:bounds];
}
Good catch. If you submit a pull request we'd be happy to review it. If you could throw in some test cases as well that would be superb.