RxSwiftCommunity / RxCocoa-Texture

RxCocoa Extension Library for Texture.
MIT License
100 stars 52 forks source link

Typo in rx.didExitPreloadState implementation #31

Open kirillsh opened 4 years ago

kirillsh commented 4 years ago

There is a typo in implementation of didExitPreloadState computed var. Instead of listening to didExitPreloadState method invocation it is listening to didEnterPreloadState:

public var didExitPreloadState: ControlEvent<Void> {
    let source =  self.methodInvoked(#selector(Base.didEnterPreloadState)).map { _ in return }
    return ControlEvent(events: source)
}