Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Andrew Barber
3,865 PointsiOS Development: Creating Login and Sign Ups (User Accounts)
Hi Guys,
I'm currently trying to do some research into the different ways in which developers can create user account functionality within our apps. So far I have identified three different ways:
- Core Data
- Saving to the Plists
- Keychain? (not too sure)
I'm trying to way up the differences and also find out which method is the best.
I have a few questions to ask:
Which one is the quickest to implement?
Which one is the most secure?
Which one is easy to use?
2 Answers
Robert Bojor
Courses Plus Student 29,439 PointsYou can always try Parse as a back-end service for storing data and user accounts.
Saving/Reading a .plist file can sure be easier to implement but as soon as you have a lot of users it'll get slower.
The safest bet, in my opinion, is to use CodeData, which will work no matter what the network connectivity is, as opposed to Parse services.
Andrew Barber
3,865 PointsHi Rob,
Thanks for the reply.
I wanted to avoid Core Data as its part of college project but I totally agree with what you are saying.
In the end I managed to find my answer here:
http://code.tutsplus.com/tutorials/beginning-ios-development-data-persistence--mobile-4645
Thanks!