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! πŸŽ‰

@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 πŸ™‚

Β· Β· Web Β· 0 Β· 0 Β· 1
Sign in to participate in the conversation

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!