Latest 1.0.2
Homepage https://github.com/rinov/RxSmartBag
License MIT
Platforms ios 8.0
Dependencies RxSwift
Authors

Language
License
Platform

About

A simple way to omit declararing DisposeBag.

Example

import UIKit
import RxSmartBag

extension UIViewController: SmartBagManagerable {}
import RxSmartBag

class ViewController: UIViewController {
  override func viewDidLoad() {
    super.viewDidLoad()

    // `smartBag` is able to use without declararing, and can bind simply by operator.
    smartBag += observable.subscribe(...)
    // or
    observable.subscribe(...).disposed(by: smartBag)
}

Features

[x] Support all types(non-NSObject)
[x] Bind operator

Installation

RxSmartBag is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "RxSmartBag"

Author

rinov, [email protected]

License

RxSmartBag is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "RxSmartBag",
    "version": "1.0.2",
    "summary": "A useful dispose bag for RxSwift.",
    "description": "A simple way to omit declararing DisposeBag.",
    "homepage": "https://github.com/rinov/RxSmartBag",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "rinov": "[email protected]"
    },
    "source": {
        "git": "https://github.com/rinov/RxSmartBag.git",
        "tag": "1.0.2"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "RxSmartBag/Classes/**/*",
    "dependencies": {
        "RxSwift": [
            "~> 3.0"
        ]
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This