Adding UITableView Delegate to my ViewController Causing an Incomplete Implementation Error
#import <UIKit/UIKit.h>
@interface MyClassViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> {
UITableView* _tableView;
}
- (id)initWithFrame:(CGRect)frame;
@property(nonatomic, retain)UITableView* tableView开发者_开发百科;
@end
and in my .m file
@implementation PopUpPlaylistViewController
@synthesize tableView = _tableView;
Use
@interface MyClassViewController : UITableViewController <UITableViewDelegate, UITableViewDataSource>
You are saying you implement these protocols, and they have required methods. see the documentation for both of them to see what methods are required and which are optional.
加载中,请稍侯......
精彩评论