I have some questions regarding the Corona functions system.setPreference( ) / system.getPreference( ):
- Is there some kind of caching mechasim, or does system.getPreference( ) always read from file?
- Where/How is the data stored on iOS (e.g. NSUserDefaults, file in DocumentsDirectory, ...)?
- Does system.getPreference( ) have some mechanisms to ensure data is actually written? (Compared to using Rob's loadsave method, where e.g. file could be nil, or file:write (contents) could fail, in which cases the data would not saved and would be lost.)