Skip to content

RxScreeen is a RxSwift wrapper for Screeen.

License

Notifications You must be signed in to change notification settings

Clipy/RxScreeen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

dda9b63 · Oct 13, 2023

History

46 Commits
Oct 13, 2023
Oct 13, 2023
Oct 13, 2023
Oct 13, 2023
Apr 12, 2018
Aug 26, 2019
Jul 16, 2016
May 20, 2020
Nov 25, 2017
Oct 13, 2023
Oct 13, 2023
May 20, 2020
Oct 13, 2023
Aug 26, 2019
Oct 13, 2023
Aug 17, 2020
Oct 13, 2023

Repository files navigation

RxScreeen

CI Release version License: MIT Carthage compatible Version Platform SPM supported

RxScreeen is a RxSwift wrapper for Screeen.

Usage

CocoaPods

pod 'RxScreeen'

Carthage

github "Clipy/RxScreeen"
github "Clipy/Screeen"
github "ReactiveX/RxSwift"

Example

let observer = ScreenShotObserver()
observer.rx.image
  .subscribe(onNext: { image in
    // Add / Update / Remove events images
  })

observer.rx.item
  .subscribe(onNext: { item in
    // Add / Update / Remove events NSMetadataItem
  })

observer.rx.addedImage
  .subscribe(onNext: { image in
    // Add events image
  })

observer.rx.updatedImage
  .subscribe(onNext: { image in
    // Update events image
  })

observer.rx.removedImage
  .subscribe(onNext: { image in
    // Remove events image
  })
observer.start()

Dependencies

How to Build

  1. Move to the project root directory
  2. Install dependency library with carthage or git submodule
  3. carthage checkout --use-submodules or git submodule update --init --recursive
  4. Open RxScreeen.xcworkspace on Xcode.
  5. build.