Created
March 19, 2020 20:50
-
-
Save twittemb/2af60c9caa4cb93d2210e8b366081d56 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ObservedObject | |
private var uiSpin: SwiftUISpin<State, Event> = { | |
// previously defined or injected: counterSpin is the Spin that handles our counter business | |
let spin = SwiftUISpin(spin: counterSpin) | |
spin.start() | |
return spin | |
}() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment