[tableView dequeueReusableCellWithIdentifier:cellID]returns an object with a type UITableViewCell *. If you know that a cell will always have a type NewCustomCell *, then you can tell the compiler that it expects it to be executed. For instance:
NewCustomCell *cell = (NewCustomCell *) [tableView dequeueReusableCellWithIdentifier:cellID];
source
share