Gre*_*gir 9 xcode warnings uitableview
我正在开发我的第一个iOS/Cocoa Touch应用程序,为了处理用户设置,我需要为导航控制器构建一些表视图.无论如何,我创建了一个自定义的UITableViewController,并将其推送到我的UINavigationController上.我没有在以下两种方法中改变一个东西(返回数字除外),但它们在XCode中发出警告.是什么赋予了?
- (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 3;
}
Run Code Online (Sandbox Code Playgroud)