https://github.com/clipy/rxscreeen
RxScreeen is a RxSwift wrapper for Screeen.
https://github.com/clipy/rxscreeen
clipy macos rx rxswift rxswift-extensions screenshot swift
Last synced: 12 months ago
JSON representation
RxScreeen is a RxSwift wrapper for Screeen.
- Host: GitHub
- URL: https://github.com/clipy/rxscreeen
- Owner: Clipy
- License: mit
- Created: 2016-07-11T17:14:07.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-05-16T21:47:25.000Z (about 2 years ago)
- Last Synced: 2025-05-21T16:51:01.159Z (about 1 year ago)
- Topics: clipy, macos, rx, rxswift, rxswift-extensions, screenshot, swift
- Language: Swift
- Size: 98.6 KB
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RxScreeen

[](https://github.com/Clipy/RxScreeen/releases/latest)
[](https://github.com/Clipy/RxScreeen/blob/master/LICENSE)
[](https://github.com/Carthage/Carthage)
[](http://cocoadocs.org/docsets/RxScreeen)
[](http://cocoadocs.org/docsets/RxScreeen)
[](https://swift.org/package-manager)
RxScreeen is a RxSwift wrapper for Screeen.
## Usage
### CocoaPods
```
pod 'RxScreeen'
```
### Carthage
```
github "Clipy/RxScreeen"
github "Clipy/Screeen"
github "ReactiveX/RxSwift"
```
## Example
```swift
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
- [Screeen](https://github.com/Clipy/Screeen)
## 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.