objective c - Save persistent data easily and read in iOS -


wanted ask if objective-c exists store data on device , recover other sqlite android have option:

sharedpreferences prefs = getsharedpreferences("mispreferencias",context.mode_private);       int idusuario = prefs.getint("idusuario",0);     int idtipoauto = prefs.getint("idtipoauto",0); 

there in objective-c fast can read without problem or change @ time, if close app information persist in app

nsuserdefaults / core data / file on disk (either plist or binary) / keychain

there many options depending on data is, how you're going use , how long should survive for...


Comments

Popular posts from this blog

android - Automated my builds -

python - How to return the most similar word from a list of words? -

apache - GeoServer under https -