Skip to content

Commit 2b3e928

Browse files
authored
Merge pull request #93 from tomisacat/master
Use `AnyObject` instead of `class`
2 parents 6134a64 + 7952145 commit 2b3e928

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Changelog
44
Current master
55
--------------
66

7-
- Nothing yet!
7+
- Use `AnyObject` instead of `class` keyword, which was deprecated since Swift 4. See [#93](https://github.com/RxSwiftCommunity/NSObject-Rx/pull/93) - [@tomisacat](https://github.com/tomisacat).
88

99
5.2.2
1010
-----

HasDisposeBag.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import ObjectiveC
55
fileprivate var disposeBagContext: UInt8 = 0
66

77
/// each HasDisposeBag offers a unique RxSwift DisposeBag instance
8-
public protocol HasDisposeBag: class {
8+
public protocol HasDisposeBag: AnyObject {
99

1010
/// a unique RxSwift DisposeBag instance
1111
var disposeBag: DisposeBag { get set }

0 commit comments

Comments
 (0)