【发布时间】:2011-01-27 06:35:27
【问题描述】:
我不断收到“警告:控制到达非无效函数的结尾”的代码:
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
if (section ==0)
{
return [comparativeList count];
}
if (section==1)
{
return [generalList count];
}
if (section==2)
{
return [contactList count];
我怎样才能摆脱这个警告?
谢谢。
【问题讨论】:
标签: iphone objective-c xcode