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.
SPONSORED Superwall lets you build & test paywalls without shipping updates. Run experiments, offer sales, segment users, update locked features and more at the click of button. Best part? It's FREE for up to 250 conversions / mo and the Superwall team builds out 100% custom paywalls – free of charge.
Sponsor Hacking with Swift and reach the world's largest Swift community!
Link copied to your pasteboard.