Wednesday, February 24, 2016

Saving custom objects in NSUserDefaults - Swift

Following is how I implemented "remember me" feature in a recent app I did in swift. I'm saving the user details in NSUserDefaults upon requesting to remember.


Anonymous said...

Wow this is so simple but effective. Just wanted to leave a grateful "Thank you!"

Raksmey M3 said...

what if i save it in array?