ios - Best practice for temporary entities in core data? -



ios - Best practice for temporary entities in core data? -

i'm looking 'best practice' deal temporary entities. app creates bunch of entities result of calculation, , show them in uitableview using nsfetchedresultscontroller. user can decide save results store, or discard them. when saved results can retrieved @ later time without redoing calculations.

i see few possibilities:

create entities during calculation , save context when user decides so. if not, delete entities context. create entities don't utilize context, cannot show them using frc. don't create entities, dummy objects, , convert them entities when user selects save.

since alternative 2 not going work, thoughts on using either alternative 1 or 3 ? maybe missed option?

ios core-data

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -