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…

Similar

Initializers in Swift

Let’s take a look at one of the core aspects of object-oriented programming — initialization. What characteristics should an initializer ideally have, and what sort of techniques could be useful in order to keep our initializers simple and predictable? (more…)

Read more »

Was Swift based on Kotlin?

Following Google’s announcement at Google I/O 2017 that Kotlin would be getting first class support on Android, Wesley Reisz spoke to Andrey Breslav, the lead language designer of Kotlin at JetBrains. (more…)

Read more »