

Jon Hoffman
- Jun 30, 2022
- 6 min
Implementing Copy-On-Write
Apple says that we should prefer value types (structs) over reference types (classes). While there are number advantages with using...
169 views


Jon Hoffman
- Jun 25, 2022
- 2 min
Caching AsyncImage SwiftUI
A while back I was creating a list view where each element in the list displayed an image which was download from a web API and I use...
77 views


Jon Hoffman
- Jun 25, 2022
- 3 min
Swift – Replacing Static Constants with Enums
With other programming languages, we regularly used static and static final variables/constants to hold global values that we needed to...
85 views


Jon Hoffman
- Jun 22, 2022
- 4 min
Operator Methods and Custom Operators
Operator Methods Operator methods enables us to add implementations of standard Swift operators to our custom types. This is a very...
64 views


Jon Hoffman
- Jun 22, 2022
- 4 min
Introduction to Swift<T> Generics
Over the years, I have always been surprised with the number of developers that I have meet that do not use or understand generics. In...
123 views