Что может вызвать [super dealloc]; врезаться?
Итак, у меня есть это в моем UITableViewCell
- (void)dealloc
{
// this is ok
[others release];
// this crash
[super dealloc];
}
В основном у меня есть UITabViewController. Когда я перехожу на другую вкладку и возвращаюсь на эту вкладку, содержащую UITableViewCell, она падает на [super dealloc];
Так называется клетка.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString *CellIdentifier = @"DynamicSizedCell";
DynamicSizedCell *cell = (DynamicSizedCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[[DynamicSizedCell alloc] init] autorelease];
}
[cell setSelectionStyle:UITableViewCellSelectionStyleNone];
return cell;
}
Спасибо
Тройник