You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 24, 2019. It is now read-only.
If I removed the [SSManagedObject hasMainQueueContext] check here everything works fine and the mainQueueContext gets created when the fetchRequest gets created.
Any ideas why ? Should I just called [SSManagedObject mainQueueContext] in my app delegate ?
The text was updated successfully, but these errors were encountered:
This is intentional. If you are tearing down Core Data, your view controllers could touch a FRC and start up Core Data again. The desired way to get going is to reference mainQueusContext in application did finish launching.
I agree that this is a bit unexpected at first. I should document this a bit more.
Sam
On Mar 23, 2014, at 11:58 AM, Nicolas Brassard [email protected] wrote:
If I removed the [SSManagedObject hasMainQueueContext] check here everything works fine and the mainQueueContext gets created when the fetchRequest gets created.
Any ideas why ? Should I just called [SSManagedObject mainQueueContext] in my app delegate ?
—
Reply to this email directly or view it on GitHub.
I ran against this nasty bug in my app.
- (NSFetchedResultsController *)fetchedResultsController
always returns nil.If I removed the
[SSManagedObject hasMainQueueContext]
check here everything works fine and the mainQueueContext gets created when the fetchRequest gets created.Any ideas why ? Should I just called
[SSManagedObject mainQueueContext]
in my app delegate ?The text was updated successfully, but these errors were encountered: