Using Result in Swift 5

Learn how you can use the Result type that was introduced in Swift 5 to clearly communicate success and error cases in your code. Read more

Similar

Locks, Thread Safety, and Swift

Back in the dark ages of Swift 1, I wrote an article about locks and thread safety in Swift. The march of time has made it fairly obsolete, and reader Seth Willits suggested I update it for the modern age, so here it is! (more…)

Read more »

Swift Value Types and Reference Types

Value types and reference types are the core concepts in Swift. Let's study what are value and reference semantics; how Swift structs and classes are stored in memory; compare Swift structs and classes performance and suggest when to use what. (more…)

Read more »