I use NSUserDefaults to store parameters.
What is the size of data I can store in the user default? Is it a good place to store the login cookie?
I use NSUserDefaults to store parameters.
What is the size of data I can store in the user default? Is it a good place to store the login cookie?
First of all theres no space limit when storing into NSUserDefaults (obviously the device capacity).
Now about the cookie thats very confusing, if you are talking about store a bool to say if the user is registered or not UserDefaults is perfectly adaptable/applicable.