The Defer Keyword in Swift
Playing around in Swift
4 min readMay 2, 2024
The reason for this article is that defer is often useful, but seldom used (in my experience) where it could make things much easier for programmers using swift.
Difficulty: Beginner | Easy | Normal | Challenging
This article has been developed using Xcode 15.0, and Swift 5.9