Mike Ash 10/6/2017

Friday Q&A 2017-10-06: Type-Safe User Defaults

Read Original

This technical article details the creation of a Swift library called TSUD, which provides a type-safe wrapper around NSUserDefaults/UserDefaults. It covers the design goals, such as declared keys, automatic string generation, no casting, support for Codable types, and built-in default values, and includes example usage and implementation insights.

Friday Q&A 2017-10-06: Type-Safe User Defaults

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week