orjpap.github.io - Orestis Papadopoulos

Description: I'm Orestis Papadopoulos. I work as a software developer. This is my blog, I write about software, sounds and Swift.

Example domain paragraphs

Software, Sound, Swift

Enums are often used to model states. If we want to move to the next state (in order of declaration) we have to do the switch dance:

The user’s defaults database is a key-value store that let’s you persist data across app launches. It is meant to be used to store user preferences. Using the Codeable protocol and a JSONEncoder you can very easily convert Swift types to JSON data in order to store them.

Links to orjpap.github.io (1)