Tag Archives: operator

Nil-coalescing Operator in Swift

Update: As of Xcode 6 Beta 5 this article is obsolete. Swift now includes a nil coalescing operator (??). I am leaving this article on my blog for people who are curious about why such an operator exists or when … Continue reading

Posted in Swift | Tagged , | 21 Comments

Custom Threading Operator in Swift

The Swift language supports custom operator functions, similar to operator overloading in C++. This kind of language feature has been known to¬†enable overly “enthusiastic” developers to create a quagmire of unreadable code, which is why I was surprised to see … Continue reading

Posted in Swift | Tagged , , | 16 Comments