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 Would you describe yourself as knowledgeable, but struggling when you have to come up with your own code? Fernando Olivares has a new book containing iOS rules you can immediately apply to your coding habits to see dramatic improvements, while also teaching applied programming fundamentals seen in refactored code from published apps.
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.