Follow

This week's blog post: "Enum iterations in Swift 4.2" πŸš€

Examples of how Swift 4.2's CaseIterable feature can be used to solve common problems in really nice ways πŸ‘

This is also my 80th weekly post & the first to use Splash for syntax highlighting! πŸŽ‰

swiftbysundell.com/posts/enum-

Β· Web Β· 1 Β· 3 Β· 7

@johnsundell Awesome! I actually had to iterate an enum before, which was quite a hassle. Looks super easy now. Thanks for sharing!

@hyperbolic Yeah it's a very common use case - it's so great that there's built-in functionality for that now! πŸ‘ Happy you like the post πŸ™‚

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!