Skip to content

Instantly share code, notes, and snippets.

@ElonPark
Created July 29, 2021 02:56
Show Gist options
  • Save ElonPark/b9d820a968b905aa255b395ee2339b2d to your computer and use it in GitHub Desktop.
Save ElonPark/b9d820a968b905aa255b395ee2339b2d to your computer and use it in GitHub Desktop.
UserListPresentableListener without ReactorKit
// MARK: - UserListPresentableListener
protocol UserListPresentableListener: AnyObject {
typealias Action = UserListPresentableAction
typealias State = UserListPresentableState
func sendAction(_ action: Action)
var state: Observable<State> { get }
var currentState: State { get }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment