MakeSchool-Tutorials / Makestagram-Swift-V3

14 stars 7 forks source link

12. Keeping Users Logged In #75

Closed byzantinist closed 7 years ago

byzantinist commented 7 years ago

UserDefaults is an quick way to store small amounts of non-sensitive data on the user's phone.

should be

UserDefaults is a quick way to store small amounts of non-sensitive data on the user's phone.


Use Core Data or Realm instead.

should be

Use CoreData or Realm instead.


Persisting our User

should be

Persisting Our User


If you try to build the app right now, the compiler with throw an error saying our using object doesn't conform to the NSCoding protocol.

should be

If you try to build the app right now, the compiler with throw an error saying our user object doesn't conform to the NSCoding protocol.


Storing our Current User in User Defaults

should be

Storing Our Current User in User Defaults


However, a easy hack around this is deleting the app and installing it again on your phone.

should be

However, an easy hack around this is deleting the app and installing it again on your phone.

ocwang commented 7 years ago

Grammar issues fixed.