| ▲ | frizlab 8 hours ago | |
I don’t which Swift developers you are talking to, but let the record know I don’t and use enum quite a lot. And I don’t find it particularly painful though a bit verbose at times. | ||
| ▲ | willtemperley 5 hours ago | parent [-] | |
I think Swift enums are really well designed, but SwiftData doesn't really support them unfortunately and Observable has problems with reactivity and enums (works on iOS not macOS I've found). So lots of optionals might well be the better path here. | ||