Typestate - the new Design Pattern in Swift 5.9type safetysoftware design📺 video15 Dec 2023 ﹒ ☕️☕️ 16 min readIn this article I will introduce you to Typestate pattern, popularised by Rust language, now available in Swift 5.9. You will see how the combination of generic constraints and Swift's new memory ownership model allows you to write bulletproof code.