I'm trying to implement IAP in my app. Because I'm new to this I followed this tutorial: (http://www.raywenderlich.com/21081/introduction-to-in-app-purchases-in-ios-6-tutorial).
I get errors in this part of code:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"Cell" forIndexPath:indexPath];
SKProduct * product = (SKProduct *) _products[indexPath.row];
cell.textLabel.text = product.localizedTitle;
return cell;
}
First Error:
reason: 'unable to dequeue a cell with identifier Cell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard' -> I kicked out forIndexPath:indexPath.
Then I just only get this (useless) error:
Thread 1: EXC_BAD_ACCESS (code=1,address=0xb79a91cf)
My question is, has something been changed in iOS 8?
PS: Something to add by myself: I haven´t had ARC activated, that solved the other issues.