iphone - Is it possible/sensible to use an in-memory persistent store as a staging area, and if so how do I clear it? -
we've got data coming our app. saved, we've made entity , nsmanagedobject subclass it. usually, though, objects instantiated , never saved. i'm thinking of using persistent store, nsinmemorystoretype, staging area, moving ones want save sqlite store. possible/sensible?
if is, i'd clear out staging area every often. there way clear out objects assigned memory store?
you should read lengthy blog post on temporary core data objects. it's insightful.
http://www.cimgf.com/2011/08/08/transient-entities-and-core-data/
Comments
Post a Comment