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.

1 comment:

Anonymous said...

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