-1

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?

stephan1002
  • 447
  • 2
  • 5
  • 11

1 Answers1

2

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.

Karlo A. López
  • 2,548
  • 3
  • 29
  • 56