I have setup coredata in my appDelegate application, but it first loads mainWindow.xib and the corresponding controllers + views in this xib file. These controllers must have a managedObjectContext object to load correctly. And after xib is unlocked, it runs the code in my appDelegate application.
How to configure my source codes and then load mainWIndow.xib? Or just make sure coredata is initialized correctly before deploying my mainWindows.xib?
source
share