RxScreeen 2.2.0

RxScreeen 2.2.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Oct 2023
SPMSupports SPM

Maintained by econa77, econa77.



 
Depends on:
Screeen~> 2.1.0
RxSwift~> 6.0
RxCocoa~> 6.0
 

RxScreeen 2.2.0

  • By
  • Econa77

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.