5 ms·
In the time since this article was published, a new feature was introduced in Swift 5.8 that addresses the issue: @backDeployed [1] allows Apple to include a de
by newaccount74 3y ago
In the time since this article was published, a new feature was introduced in Swift 5.8 that addresses the issue: @backDeployed [1] allows Apple to include a default implementation for a new API method that will be used when running on an older version of macOS.
It only works for functions/methods, but it will allow devs to use new APIs sooner!
[1]: https://www.hackingwithswift.com/swift/5.8/function-back-deployment https://www.hackingwithswift.com/swift/5.8/function-back-dep...
- ec109685 3y agoSeems similar to polyfills in web developer. Game changer given vagaries of browsers still.