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:
i'm executing fetch core data , display list of objects in tableview
detaching new thread, create new moc it, advised,
getting xml, parse it, clear core data , fill new data xml
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
Post a Comment