嘿,我有这段代码:
-(void)populateTexts{
self.texts = [[NSMutableArray alloc] init];
FMDatabase *db = [[FMDBDataAccess alloc] init];
self.texts = [db getTexts];
}
我不断收到错误消息:TextMsgViewController.m:41:17: Incompatible pointer types initializing 'FMDatabase *__strong' with an expression of type 'FMDBDataAccess *'
TextMsgViewController.m:43:19:“FMDatabase”没有可见的@interface 声明选择器“getTexts”