Mam dwie niestandardowe podklasy UITableViewCell, które Xcode nie lubi. Próbuję zadzwonić registerClass: forReuseIdentifier: metodę tak:Nie można zarejestrować niestandardowych podklas UITableViewCell
static NSString* gameCellIdentifier = @"GameCell";
static NSString* buttonCellIdentifier = @"ButtonCell";
// Register the classes for use.
[self.tableView registerClass:ButtonCell forCellReuseIdentifier:buttonCellIdentifier];
[self.tableView registerClass:GameCell forCellReuseIdentifier:gameCellIdentifier];
A ja dostaję błąd, „Nieoczekiwana nazwa interfejsu ... zamiast oczekiwać ekspresji.” błąd. Jakieś pomysły?
To wszystko! Nie widziałem tego, dopóki nie opublikowałem odpowiedzi ... – Daniel