diff --git a/Changelog.md b/Changelog.md index d89d75d..08dc398 100644 --- a/Changelog.md +++ b/Changelog.md @@ -4,6 +4,8 @@ Changelog Current master -------------- +- Make rx.disposeBag read/write ([#40](https://github.com/RxSwiftCommunity/NSObject-Rx/pull/40)) - [@freak4pc](https://github.com/freak4pc) + - Change macOS minimum deployment target to 10.10 to support RxSwift 3.0 ([#39](https://github.com/RxSwiftCommunity/NSObject-Rx/pull/29)) - [@freak4pc](https://github.com/freak4pc) - Allow usage of rx.disposeBag alongside rx_disposeBag ([#29](https://github.com/RxSwiftCommunity/NSObject-Rx/pull/29)) - [@freak4pc](https://github.com/freak4pc) diff --git a/NSObject+Rx.swift b/NSObject+Rx.swift index d549636..1d0669f 100644 --- a/NSObject+Rx.swift +++ b/NSObject+Rx.swift @@ -38,6 +38,7 @@ public extension NSObject { public extension Reactive where Base: NSObject { var disposeBag: DisposeBag { - return base.rx_disposeBag + get { return base.rx_disposeBag } + set { base.rx_disposeBag = newValue } } }