我有一个侧面菜单应用程序。
我有2ViewController和.RearViewControllerFrontViewController
在RearViewController我有一个tableView并且我希望应用程序开始FrontViewController加载该表中的第一个元素时。
我试过添加
frontViewController.category = [rearViewController.fetchedResultsController objectAtIndexPath:[NSIndexPath indexPathForRow:0 inSection:0]];
in AppDelegate,但它得到的只是一个 nil 对象。谢谢你。
