Skip to content

Commit

Permalink
Use proper getter.
Browse files Browse the repository at this point in the history
  • Loading branch information
plu committed May 10, 2014
1 parent 602f87f commit 8b4f7d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DAKeyboardControl/DAKeyboardControl.m
Expand Up @@ -566,7 +566,7 @@ - (void)swizzled_addSubview:(UIView *)subview
}
else if ([subview isKindOfClass:[UITextView class]]) {
UITextView *textView = (UITextView *)subview;
if ([textView respondsToSelector:@selector(setInputAccessoryView:)] && [textView respondsToSelector:@selector(editable)] && textView.editable)
if ([textView respondsToSelector:@selector(setInputAccessoryView:)] && [textView respondsToSelector:@selector(isEditable)] && textView.isEditable)
{
UIView *nullView = [[UIView alloc] initWithFrame:CGRectZero];
nullView.backgroundColor = [UIColor clearColor];
Expand Down

0 comments on commit 8b4f7d4

Please sign in to comment.