Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
programmarchy
· 3y ago · 0 comments
Yeah, I’ve wrestled with this, too. Usually I’ve compromised on having sub-states (Swift enums with associated types alleviate some of the pain), but still doesn’t feel quite right.
Comments
[–]
rcme
3y ago
You should try Swift's Combine library. It works pretty nicely for modeling / cleaning up complex async flows.