
起動時にmain関数で以下のエラー。
Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayI objectAtIndex:]: index 3 beyond bounds [0 .. 2]'
久々にObjective-C触ったので勝手が分からなかったが原因判明。
StorybordでTableViewの数を変えたときに、
Table Row SectionのRowsは変わってるんですが
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
return tableRow;
}
をしてるところでTableセルの数が減らせてなかった。。。
ハマったので書いときます
