In Swift development, when creating a new package or project in Xcode, the language mode is automatically set based on the compiler version used. For instance, if created with Swift 4, the language mode is Swift 4. However, during transitions like Swift 4 to Swift 5, there might be a need to migrate due to source incompatibilities, where the language version switches to Swift 5 mode. To explicitly set the language mode in a package manifest, one can use an API; otherwise, the default is determined by the tools version.
This week we had the opportunity to talk to Holly Borla who manages the Swift Compiler Team at Apple. We chat about upcoming Swift 6 changes and why they're a big deal, but also why you shouldn’t worry too much. Of course, all three of us pick packages, too!
Interview with Holly
Packages