Latest 0.4.1
Homepage https://github.com/mkko/RxDrawerView
License MIT
Platforms ios 10.0
Dependencies RxSwift, RxCocoa, DrawerView
Authors

RxDrawerView is an RxSwift wrapper for DrawerView. With RxDrawerView you can use reactive approach to receive the delegate updates.

Installation

CocoaPods

If using CocoaPods add the following to Podfile:

pod "RxDrawerView"

Carthage

If you prefer Carthage, add this to Cartfile:

github "mkko/RxDrawerView"

Example Usages

    drawer.rx.willTransition
        .subscribe(onNext: { e in
            print("willTransition: (e.fromPosition) ->  (e.toPosition)")
        })
        .disposed(by: disposeBag)

    drawer.rx.didTransition
        .subscribe(onNext: { position in
            print("didTransition: (position)")
        })
        .disposed(by: disposeBag)

    drawer.rx.drawerDidMove
        .subscribe(onNext: { offset in
            print("drawerDidMove: (offset)")
        })
        .disposed(by: disposeBag)

    drawer.rx.willBeginDragging
        .subscribe(onNext: { offset in
            print("willBeginDragging")
        })
        .disposed(by: disposeBag)

    drawer.rx.willEndDragging
        .subscribe(onNext: { offset in
            print("willEndDragging")
        })
        .disposed(by: disposeBag)

Latest podspec

{
    "name": "RxDrawerView",
    "version": "0.4.1",
    "summary": "RxSwift wrapper for DrawerView",
    "description": "RxDrawerView is an RxSwift wrapper for DrawerView. With RxDrawerView you can use reactive approach to receive the delegate updates.",
    "homepage": "https://github.com/mkko/RxDrawerView",
    "license": {
        "type": "MIT",
        "file": "LICENSE.md"
    },
    "authors": {
        "Mikko Vau0308limau0308ki": "[email protected]"
    },
    "social_media_url": "http://twitter.com/mkko",
    "platforms": {
        "ios": "10.0"
    },
    "source": {
        "git": "https://github.com/mkko/RxDrawerView.git",
        "tag": "0.4.1"
    },
    "source_files": "RxDrawerView/**/*.swift",
    "dependencies": {
        "RxSwift": [
            "~> 4.0"
        ],
        "RxCocoa": [
            "~> 4.0"
        ],
        "DrawerView": [
            "~> 0.4.7"
        ]
    }
}

Pin It on Pinterest

Share This