Exploring Swift Extensions: Strategies for Efficient iOS Code
If you’ve done any work on iOS apps these last few years, you’ll know how concise and expressive the Swift language can be. And you may well have benefited from Swift extensions, a powerful mechanism that lets you, the developer, extend both your functionality and Swift’s, by extending any Objects and Structures you need. However, the variety and versatility of extensions does present teething challenges.