back

by danabramov·13y ago·view on hn ↗
I'm sure Busy isn't meant to represent state—it's a property whose setter and getter call a spinning wheel UI element's StartAnimating and StopAnimating. It's a very common practice in iOS view controllers. That's what I read anyway.
1 comments
That sounds like state to me.
Do you have any other method of updating the UI without calling corresponding methods? I'm lost on your argument.
Well if the goal is to have a "spinning wheel UI element" to reflect to the user that the app is in a "busy" state, and the UI element requires calls to modify its animation state, then no I don't have a way to do it without calls to the UI element.