I'm attempting to set the UITextViews in a set of UITableViewCell's to editable when the user taps the "edit" button for the UITableView. Each UITableViewCell has a UITextField (cell.blurb). This code will set each UITextView to editable, however, the cursor alternates very rapidly between each one. I'm pretty sure it's a responder chain issue, (they're all becoming first responders maybe?) however I can't seem to remedy it. I've tried having each UITextView resignFirstResponder (save for the first one in the list), but it does nothing. In the table cell xib they're uneditable.
//set all text areas to editable and opaque
int numSections = [_tableView numberOfSections];
for (int s = 0; s < numSections; s++) {
int numRows = [_tableView numberOfRowsInSection: s];
for (int r = 0; r < numRows; r++) {
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:r inSection:s];
CustomTableViewCell *cell = (CustomTableViewCell *)[_tableView cellForRowAtIndexPath:indexPath];
[cell blurb].editable = YES;
[[cell blurb] resignFirstResponder];
//set the first row's UITableView to the first responder
if (s == 0 && r == 0)
[[cell blurb] becomeFirstResponder];
}
}