I'm trying understand how [tableView dequeueReusableCellWithIdentifier:CellIdentifier] works. Here is my situation:
I have designed my UITableViewCell subclass in IB and now I'm trying style my sub elements of the cell in my subclass. Unfortunately the method [tableView dequeueReusableCellWithIdentifier:CellIdentifier] seems to not call any method in my cells subclass. With methods I mean initWithCoder,initWithFrame or init.
This is my actual code:
static NSString *BasicCellIdentifier = @"BasicCell";
GSFeedBasicTableViewCell *basicCell = [tableView dequeueReusableCellWithIdentifier:BasicCellIdentifier];
My Cells are showing up but I would to customize the cell further in my subclass to avoid styling code in my TableController. Any hints are really appreciated.
Aucun commentaire:
Enregistrer un commentaire