---
title: "Discussion on \"Type enforced UserDefaults\" | Hashnode"
description: "Discussion on \"Type enforced UserDefaults\". On iOS the UserDefaults is a persistent dictionary stored and managed by iOS that survives the application runtime. It can be used to store and retrieve key-value pairs of different data types in-between user sessions of the app.\nIn this article, we ..."
url: "https://hashnode.com/posts/type-enforced-userdefaults/6553c4bcf0a86e9d18ed1857"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Type enforced UserDefaults](https://blog.encoded.life/type-enforced-userdefaults?utm_source=hashnode&utm_medium=feed)

On iOS the UserDefaults is a persistent dictionary stored and managed by iOS that survives the application runtime. It can be used to store and retrieve key-value pairs of different data types in-between user sessions of the app. In this article, we ...

Nov 14, 2023 · 3 min read · blog.encoded.life  
Read the article

-   [#swift](https://hashnode.com/tag/swift)
-   [#unit-testing](https://hashnode.com/tag/unit-testing)
-   [#data-structures](https://hashnode.com/tag/data-structures)
-   [#clean-code](https://hashnode.com/tag/clean-code)

## Written by

[Dave Poirier](https://hashnode.com/@ekscrypto)

@ekscrypto · Québec, Canada

  
[View profile](https://hashnode.com/@ekscrypto)

Passionate Senior iOS Developer | Mobile Security and Reliability Specialist

I love technology and everything related, from gadgets to new professional techniques. I like thinking, researching, optimizing, inventing and developing. I have a strong background in software research and development, operating systems, Voice-over-IP, network security, wired and wireless network engineering, complemented with electronic engineering background. My career goal is to always keep learning, to be challenged, and to work remotely so I can be present for my family. Bug hacker and master troubleshooter, my strength is understanding a problem and getting to the root of it. I'm mostly a self-taught individual and a constant learner. I push my technical boundaries daily and search for ways to improve my skills every day. With over 20 years of experience writing software in various languages, creating or optimizing algorithms, the digital development world is my turf. Sample challenges which I particularly enjoyed: Created a GLSL based magnification tool for a client who was turned down by three other companies as "impossible to do on macOS". Optimized several SQL queries to reduce load time of a particular web page from several seconds to sub 50ms. Identified the root cause of stuttering animations in iOS mobile app and implemented mitigation strategy Specialties: Swift, Objective-C and PHP Software Development; TCP/IP and Wireless Network Engineering

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
