sorry, this is probably a really easy question
but in iphone 3.0 you could use this
inside the
method
but when switching to 2.2.1 the method is not found and the UITableViewCellStyleDefault is not declared
and a nil cell gets sent back causing a crash
what's the equivalent way to create the cell in 2.2.1?
but in iphone 3.0 you could use this
Code:
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
Code:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
but when switching to 2.2.1 the method is not found and the UITableViewCellStyleDefault is not declared
and a nil cell gets sent back causing a crash
what's the equivalent way to create the cell in 2.2.1?