开发者

warning in NSMutableArray

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜