Xcode 4.2线程1 sigabrt错误。从数据库中检索

时间:2013-10-22 23:48:28

标签: sqlite xcode4.2 sigabrt

我发现Sigabrt抛出错误是因为这个代码我试图根据教程从数据库中检索但我不知道错误是什么。我只是评论了给我带来问题的线条,但我不了解发生了什么

(void)viewDidLoad
{
    MyWineLists * mywines =[[MyWineLists alloc] init];
    self.wines = [mywines getMyWines];
    /*[self.wineViewer setImage:((WineList *) [self.wines objectAtIndex:0]).photo];

    [self.winename setText:((WineList *) [self.wines objectAtIndex:0]).wine];

    [self.winerating setText:((WineList *) [self.wines objectAtIndex:0]).rating];*/
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}

0 个答案:

没有答案