https://github.com/pedrommcarrasco/rxslicecontrol
🍰 A µ-extension to bind SliceControl events with RxSwift
https://github.com/pedrommcarrasco/rxslicecontrol
ios rx rxswift segmentedcontrol swift uikit uiview
Last synced: 2 months ago
JSON representation
🍰 A µ-extension to bind SliceControl events with RxSwift
- Host: GitHub
- URL: https://github.com/pedrommcarrasco/rxslicecontrol
- Owner: pedrommcarrasco
- License: mit
- Created: 2019-02-03T15:24:42.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-08T15:39:44.000Z (about 5 years ago)
- Last Synced: 2025-04-21T17:46:16.810Z (3 months ago)
- Topics: ios, rx, rxswift, segmentedcontrol, swift, uikit, uiview
- Language: Swift
- Homepage:
- Size: 3.13 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
![]()
A µ-extension to [SliceControl](https://github.com/pedrommcarrasco/SliceControl) to track events using RxSwift observables
[](https://cocoapods.org/pods/RxSliceControl)
[](https://github.com/pedrommcarrasco/RxSliceControl/blob/master/LICENSE)# Usage Example ⌨️
After installing **RxSliceControl**, you should start by importing the framework:
```swift
import RxSliceControl
```Once imported, you can start using **RxSliceControl** to subscribe to events like follows:
```swift
sliceControl.rx
.selectedIndex
.bind(to: viewModel.selectedOption)
.disposed(by: disposeBag)
```# Instalation 📦
**RxSliceControl** is available through [CocoaPods](https://cocoapods.org/pods/RxSliceControl). In order to install, add the following line to your Podfile:
```swift
pod 'RxSliceControl'
```
And run the following command in terminal:```swift
pod install
```# Support RxSliceControl ❤️
Hello there 👋
I’m Pedro, a Portuguese iOS Engineer since February 2017. I’m an avid OSS enthusiast and contributor - help by sharing, learn by what’s shared.
I've built and open-sourced multiple frameworks and applications, including **[Brooklyn](https://github.com/pedrommcarrasco/Brooklyn)** and **[CocoaHub](https://cocoahub.app)**.
I'm also a conference and meetup organizer, being part of **[SwiftAveiro](https://swiftaveiro.xyz)** and **[CocoaHeads Porto](https://www.meetup.com/CocoaHeads-Porto/)**.
If you enjoy my work and would like to help me continue it, please consider:
* https://github.com/users/pedrommcarrasco/sponsorship
* https://www.buymeacoffee.com/pedrommcarrasco
* https://www.paypal.me/pedrommcarrasco# Contributing 🙌
Feel free to contribute to this project by providing [ideas](https://github.com/pedrommcarrasco/SliceControl/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) or opening [pull requests](https://github.com/pedrommcarrasco/SliceControl/pulls?q=is%3Apr+is%3Aopen+sort%3Aupdated-desc).
# License ⛔
RxSliceControl's available under the MIT license. See the [LICENSE](https://github.com/pedrommcarrasco/SliceControl/blob/master/LICENSE) file for more information.