iphone - CoreData could not fulfill a fault after MOC refreshed - how to solve? -


i'm new iphone development , have problem core data.

at moment app works follows:

  1. i'm executing fetch core data , display list of objects in tableview

  2. detaching new thread, create new moc it, advised,

  3. getting xml, parse it, clear core data , fill new data xml

  4. saving moc.

it works fine if user isn't scrolling tableview within saving of moc, if is, i'm getting error , application crashes.

can explain in plain english why it's happening , how can solve problem.

thanks lot.

ok, solution easy, need normal objects, not faults coredata, using property of request object

like this:

//... [request setreturnsobjectsasfaults:no]; //... 

there no difference in memory allocation (at least didn't notice in tools), problem disappears)


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -