Friday Q&A 2017-10-06: Type-Safe User Defaults
Read OriginalThis 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.
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
No top articles yet