See the code, run the code, edit the code
Previously I wrote about the new features in Swift 4.1, but it's a lot more fun to see things in action and experiment yourself.
So, I just released an Xcode playground that demonstrates the new features introduced in Swift 4.1, complete with examples that I hope make them easy to understand and apply in your own work:
flatMap()is now (partly)
The playground is available on GitHub, so I hope you'll try it for yourself: what's new in Swift 4.1?
I should add that the task of building this playground was made much easier thanks to previous work done by Ole Begemann.
SPONSORED In-app subscriptions are a pain to implement, hard to test, and full of edge cases. RevenueCat makes it straightforward and reliable so you can get back to building your app. Oh, and it's free if your app makes less than $10k/mo.
Paul Hudson is the creator of Hacking with Swift, the most comprehensive series of Swift books in the world. He's also the editor of Swift Developer News, the maintainer of the Swift Knowledge Base, and a speaker at Swift events around the world. If you're curious you can learn more here.
Link copied to your pasteboard.