warning: (Messages without a matching method signature
warning: no '-eve开发者_StackOverflowntListArray' method found
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
return [[[popularListArray objectAtIndex:section]eventListArray]count];
}
@Thanks in advance
Your problem is most likely that you need to #import
the header file in which the -eventListArray
method is declared.
Files are compiled one at a time, so if you don't import the header, the compiler won't know about the method when compiling this file and will therefore issue a warning.
If you want to silence compiler you have to cast the object you retrieve by popularListArray because objectAtIndex return an (id) which is a (*void) equivalent.
精彩评论