Я вижу следующий журнал ...
"__ NSAutoreleaseNoPool (): объект 0x58264b0 класса UITableViewCellContentView автоматически освобожден без пула на месте - только утечка"
Это огромный журнал пула релизов, выше - только один из журнала релизов, который я скопировал ...
У меня есть CustomCell, который добавляет плитки в себя в зависимости от бизнес-логики. Но проблема в том, что когда я вызываю создание ячейки, я вижу вышеупомянутые сообщения журнала. Я не вижу ничего плохого в моем коде .. Кто-нибудь имеет какое-либо представление об этом?
- (UITableViewCell *) tableView:(UITableView *)inTableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
UnSavedNoteListCell *cell;
NSString *CellIdentifier = [@"Cell_" stringByAppendingString:[NSString stringWithFormat:@"%d", indexPath.row]];
cell = (UnSavedNoteListCell *)[inTableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil)
{
NSMutableArray *cellProgressNoteCollection = [self getcellProgressNoteCollectionForLandScape:indexPath];
cell = [[[UnSavedNoteListCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier cellTiles:cellProgressNoteCollection] autorelease];
cell.backgroundColor = [UIColor clearColor];
[cell setSelectionStyle:UITableViewCellSelectionStyleNone];
}
// cell.textLabel.text = [NSString stringWithFormat:@"%d", rand()];
// cell.textLabel.textColor = [UIColor redColor];
// Configure the cell...
return cell;
}