this post was submitted on 31 Jul 2024
9 points (100.0% liked)
Swift
368 readers
2 users here now
This group focus on the content related to the development of Apple Eco-system software. So feel free to share and talk about, for example;
- Swift
- Xcode
- macOS, iOS, iPadOS...etc.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
One option would be to use an enum with a
label
computed property.