Herz Rod
Herz Rod

Reputation: 831

executeFetchRequest:error: freezes app

I don't know what it is but it happens when is fetching elements, well that's what I asume because the app just freezes, I pause the debugging and the debugger stops at a return [__context executeFetchRequest:request error:&error]; Any help about this will be very appreciated.

Upvotes: 3

Views: 4497

Answers (1)

D33pN16h7
D33pN16h7

Reputation: 2030

Check this post basically you'll need to lock your persistentStoreCordinator because read only calls aren't thread safe. Apple documentation mention this here. Cheers my friend!

Upvotes: 4

Related Questions