objective c - How to serialize a class into a file on the iphone? -
i'm having trouble updated version of app on app store.
i have database person's info. however, if user has version 1.0 , updates 2.0, need save database.
i want serialize file on iphone when version 2.0 being installed, remove version 1.0 , deserialize database class app.
how can serialize/deserialize class?
if data's simple archives , serialization.
if data's complex, need database function, can use sqlite.
Comments
Post a Comment