1
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
#warning Potentially incomplete method implementation.
    // Return the number of sections.
    return 1;
}

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
#warning Incomplete method implementation.
    // Return the number of rows in the section.
    return [(NSSet *)[team valueForKey:@"players"] count];
}

我如何解决它?

4

1 回答 1

6

您正在返回值​​,只需删除以下行:

#warning Potentially incomplete method implementation.

#warning Incomplete method implementation.
于 2012-09-17T17:15:16.570 回答