indexPath を指定して、tableViewCell (カスタム) を手動で作成しています。何らかの理由で、セルがセル オブジェクトを受け取る場合と、オブジェクトを含まない場合があります。指定された indexPath にセルが存在することはわかっていますが、何らかの理由でコードがそこからオブジェクトを取得できないことがあります。何か案は?
-(BOOL)checkRequiredValues {
NSIndexPath *cellIndexPath;
CheckoutCell *cell;
cellIndexPath = [NSIndexPath indexPathForRow:1 inSection:0];
cell = (CheckoutCell *)[self.tableView cellForRowAtIndexPath:cellIndexPath];
}