Dav*_*ave 13 iphone xcode objective-c
我继续使用以下代码获得'警告:控制到达非空函数的结尾':
- (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];
Run Code Online (Sandbox Code Playgroud)
我怎么能摆脱这个警告?
谢谢.
| 归档时间: |
|
| 查看次数: |
97649 次 |
| 最近记录: |