Ver código fonte

unable to dequeue a cell with identifier CellMain - must register a nib or a class for the identifier or connect a prototype cell in a storyboard

Marino Faggiana 6 anos atrás
pai
commit
218f0f48ac
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      iOSClient/Transfers/CCTransfers.m

+ 1 - 0
iOSClient/Transfers/CCTransfers.m

@@ -68,6 +68,7 @@
     [super viewDidLoad];
     
     // Custom Cell
+    [self.tableView registerNib:[UINib nibWithNibName:@"CCCellMain" bundle:nil] forCellReuseIdentifier:@"CellMain"];
     [self.tableView registerNib:[UINib nibWithNibName:@"CCCellMainTransfer" bundle:nil] forCellReuseIdentifier:@"CellMainTransfer"];
     
     self.tableView.delegate = self;