NEW: Pre-order my Vapor book and learn server-side Swift! >>

< Previous: Wrap up   Next: Setting up >

Project 12: UserDefaults

Written by Paul Hudson    @twostraws

Description: Learn how to save user settings and data for later use.

Need help?

I put together answers for almost 300 of the most frequently asked questions I received from readers into one place: the Swift 4 Knowledge Base. It answers basic and advanced questions, and provides lots of free code you can re-use however you please. If you hit problems, try searching there first.

If you're still having problems, you can post to the Hacking with Swift subreddit where you can expect an answer fairly quickly, or you can find me on Twitter where I'll do my best to help.

Project files

The project files for Hacking with Swift are all available on GitHub, where you can view them, fork them, or download them: click here for the GitHub repo.

Take Swift further!

Your Swift skills let you make apps for macOS, watchOS, tvOS, and more, and for one low price you can learn it all with my Swift Platform Pack!

< Previous: Wrap up   Next: Setting up >
Click here to visit the Hacking with Swift store >>