这有可能返回如在部分行中的值(而不是计数)的数量一个NSMutableArraynumberofRowsinSection是否可以返回NSMutableArray的VALUES?
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
NSLog(@"number of rows in section: %@",[arrayofNombre objectAtIndex:section]);//it prints the right value
return [arrayofNombre objectAtIndex:section];
}
的应用只是崩溃,并且当我把恒定值(返回2例如),应用程序运行,但它没有给出预期的结果。 我肯定错过了一些东西。 谢谢你的帮助。
您如何检测的问题:d!它解决了我的问题:)。非常感谢你,并接受。 – androniennn 2013-05-07 20:22:06
不客气,考虑到NSArray只能容纳NSNumbers! :) – Matt 2013-05-07 20:30:33