Swift’s team is continuing making it easier to contribute to the Swift STL as well as to try out new features before their official release using a new Preview Package.
https://swift.org/blog/preview-package/
#swift #evolution #proposal
https://swift.org/blog/preview-package/
#swift #evolution #proposal
Swift.org
Standard Library Preview Package
I’m excited to announce a new open-source package and an enhancement to the Swift Evolution process: the Standard Library Preview package! The preview package provides access to functionality that has been accepted into the Swift standard library through…
Apple continues integrating iPad apps to Mac using the Catalyst project.
p.s. I hope it works better than Xcode playground. 🙏
https://9to5mac.com/2020/02/11/apple-launches-swift-playgrounds-app-for-the-mac/
#swift
p.s. I hope it works better than Xcode playground. 🙏
https://9to5mac.com/2020/02/11/apple-launches-swift-playgrounds-app-for-the-mac/
#swift
9to5Mac
Apple launches Swift Playgrounds app for the Mac, built using Catalyst
Apple’s Swift Playgrounds application is now available on Mac. The app was originally released for the iPad in 2016, but now Apple has brought it to the Mac as well using its Catalyst platform. Apple’s Swift Playgrounds platform makes it easy for anyone to…
Swift’s team has announced a new open-source library to parse command-line arguments.
https://swift.org/blog/argument-parser/
#swift
https://swift.org/blog/argument-parser/
#swift
Swift.org
Announcing ArgumentParser
We’re delighted to announce ArgumentParser, a new open-source library that makes it straightforward — even enjoyable! — to parse command-line arguments in Swift.
I always prefer writing ==
https://twitter.com/nicklockwood/status/1324491275291295749
#swift #performance
f
or bool comparison rather than
! for better readability, but ... oh, common, it dramatically slower.https://twitter.com/nicklockwood/status/1324491275291295749
#swift #performance
Twitter
Nick Lockwood
TIL writing if foo == false {} Compiles dramatically more slowly in Swift than: if !foo {} And you should probably always use the latter even if you find it less readable: https://t.co/9MI7XteFRZ