Managing objects using Locks & Keys in Swift — Swift by Sundell

One of the most important roles of any software architecture is to make the relationships between the various objects and values within an application as clear and well-defined as possible. In another article, John Sundell takes a look at how we can do that by using Swift's powerful type system to set up locks and keys to get a stronger, compile-time guarantee that the intended flow of our app will remain intact at runtime.


Want to receive more content like this in your inbox?