I have an application with many views. On each page, there is a “header” that states info like Name / Score / etc.
Now, on each and every view, I am doing a POST request to get this data. Is it possible to not do this everytime, and instead just do an update only when needed?
Please give me ideas.
THanks
As Dan Ray pointed out,
NSUserDefaultswould be the easiest way to accomplish this. If you had a lot of data and wanted to keep it all together then you could write it to an XML file.Here is an example of using
NSUserDefaults: