I'm looking at code in a UIViewController
that conforms to the UITextViewDelegate
protocol and has an instance variable called someTextView
.
someTextView.text = @"some text";
[self textViewDidChange:someTextView];
Is that safe? That doesn't look Kosher to me. Is it even necessary to call textViewDidChange:
? Won't it get called automatically by someTextView.text = @"some text"
?
I'm debugging this error iPhone Objective-C: Keyboard won't hide with resignFirstResponder, sometimes