It was working fine but after updating to Xcode8
, TableViewCell
button's layer circular layer is not visible. But as soon as I scroll table then It is visible. In Xcode 7.3
it is working fine with scrolling? Seems Xcode
bug?
Updated:
- (CalendarMenuCalendarCell *)configureCalendarCellWithIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"CalendarCell";
CalendarMenuCalendarCell *calCell = [self.tableView dequeueReusableCellWithIdentifier:CellIdentifier forIndexPath:indexPath];
// creating cell
Calendar *cal = self.dataArray[indexPath.row-1];
calCell.viewType = CalendarViewForCreateEvent;
calCell.calenarTitle = cal.name;
if (indexPath != self.selectedIndexPath) {
calCell.isSelected = NO;
}else{
calCell.isSelected = YES;
}
return calCell;
}