Swift 4 Weak References

Soon after Swift was initially open sourced, I wrote an article about how weak references are implemented. Time moves on and things change, and the implementation is different from what it once was. Today I’m going to talk about the current implementation… Read more

Similar

Swift Tuples

A tuple in Swift is a construct that groups multiple values together into a single compound value. Tuples can be useful when more than one value type can provide more useful information about the outcome of a behavior or action than simply returning a sin...

Read more »

Generics in Swift

The other day I came across a bug in my RethinkDB driver for Swift. The function that runs the query defines a generic parameter T, which is used to cast the result of the query to a specific… (more…)

Read more »