Hello All ,
I am upgrading an IOS project from iOS 8.2 to 9.2 using Xcode 7.2.1
Managed to resolve most of the things except for one thing , I am getting this error when I compile iOS 9.2 , complies find for iOS 8.2 , 8.3 and 8.4
-
(UITableViewCell *)tableView:(UITableView *)tableView
cellForRowAtIndexPath:(NSIndexPath )indexPath
{
// Allow the delegate to create its own cell:
_UITableViewCell cell = TELL_DELEGATE(@selector(couchTableSource:cellForRowAtIndexPath:), indexPath);_if (!cell) { // ...if it doesn't, create a cell for it: cell = [tableView dequeueReusableCellWithIdentifier: @"CBLUITableDelegate"]; if (!cell) cell = [[UITableViewCell alloc] initWithStyle: UITableViewCellStyleDefault reuseIdentifier: @"CBLUITableDelegate"]; CBLQueryRow* row = [self rowAtIndex: indexPath.row]; cell.textLabel.text = [self labelForRow: row]; // Allow the delegate to customize the cell: id delegate = _tableView.delegate; if ([delegate respondsToSelector: @selector(couchTableSource:willUseCell:forRow:)]) [(id<CBLUITableDelegate>)delegate couchTableSource: self willUseCell: cell forRow: row];
}
return cell;
}
CBLUITableSource.m > Weak property ‘delegate’ is access multiple times in this method but may be unpredictably set to nil; assign it to a strong variable to keep it alive
I cant find anything online about iOS compatibility with XCode 7.2.1 and Couchbase
Please let me know if there is anything.
Cheers