Skip to content

Instantly share code, notes, and snippets.

@twittemb
Created January 1, 2018 23:23
Show Gist options
  • Save twittemb/19bcfbee5458c3b78795ad86910dd4ee to your computer and use it in GitHub Desktop.
Save twittemb/19bcfbee5458c3b78795ad86910dd4ee to your computer and use it in GitHub Desktop.
/// Observable that triggers a bool indicating if
/// the current Presentable is being displayed
var rxVisible: Observable<Bool> { get }
/// Single triggered when this presentable is displayed
/// for the first time
var rxFirstTimeVisible: Single<Void> { get }
/// Single triggered when this presentable is dismissed
var rxDismissed: Single<Void> { get }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment