func
Swift protocols and the main actor
How the main actor relates to Swift protocols, and what the practical differences are between isolating an entire protocol to the main actor, versus only markin…
Using Swift’s ‘some’ keyword beyond SwiftUI
How the ‘some’ keyword can be used to create clean APIs and abstractions when using generics, even outside the realm of SwiftUI.
Interesting ways of using Swift optionals
A showcase of different interesting ways of using optionals that go beyond simple unwrapping of values.
Using @_silgen_name to forward declare functions in Swift and improve build times
Let me start this post with a disclaimer. The trick I'm going to show here is quite powerful, but much like every other underscored attribute in Swift, this is …






