Can you help me fix this as the method initWithFrame:reuseIdentifier is deprecated:
static NSString *CellIdentifier = @”Cell”;
CustomCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[[CustomCell alloc] initWithFrame:CGRectZero reuseIdentifier:CellIdentifier] autorelease];
}
Thx in advance,
Stephane
You must use:
initWithStyle:reuseIdentifier: