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:
Equatable
and Hashable
Codable
flatMap()
is now (partly) compactMap()
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.
TAKE YOUR SKILLS TO THE NEXT LEVEL If you like Hacking with Swift, you'll love Hacking with Swift+ – it's my premium service where you can learn advanced Swift and SwiftUI, functional programming, algorithms, and more. Plus it comes with stacks of benefits, including monthly live streams, downloadable projects, a 20% discount on all books, and free gifts!
Sponsor Hacking with Swift and reach the world's largest Swift community!
Link copied to your pasteboard.