Property Wrappers in Swift

This week, let’s take a look at how Swift’s property wrappers work, and explore a few examples of situations in which they could be really useful. Read more

Similar

AsyncOperation in Swift

A few days ago, I was working on an app for a client. With this app you can basically see a staff roster, that needs to be downloaded from a server. The REST-API is built that way, that the app has to talk to different endpoints to download all the... (more…)

Read more »

How safe are Swift structs?

Do you think Swift structs are safe? This video may change your mind. “Structs should be the default choice” and “Only use classes when necessary” is common advice but might be misleading. We’d like to show you a different way of looking at the “Structs v... (more…)

Read more »

Passing an Array of Strings from Swift to C

Swift has built-in support for bridging native strings to C strings, but this doesn’t include transparent bridging of arrays of strings to arrays of C strings. Here I discuss an internal helper function the Swift standard library uses for this purpose.

Read more »