SDK conditional code with canImport(module, _version: "1.2.3.4")
In this blog post, I explain when and why you might want to use the versioned canImport compilation statement, which challenges arise, and what better alternatives exist.
Example: #if canImport(SwiftUI, _version: "4.1.17")
Example of SDK conditional ...
blog.eidinger.info3 min read