Created
March 31, 2018 14:07
-
-
Save devxoul/20d65493347430bfe084ab07bf1c1379 to your computer and use it in GitHub Desktop.
This file contains 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
import ReactorKit | |
import RxSwift | |
final class UserViewReactor: Reactor { | |
enum Action { | |
case follow | |
} | |
enum Mutation { | |
case setFollowing(Bool) | |
} | |
enum State { | |
var isFollowing: Bool | |
} | |
let initialState: State = State(isFollowing: false) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment