Skip to content

Commit

Permalink
Better syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfurrow committed Nov 14, 2015
1 parent e661c02 commit 91b65e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NSObject+Rx.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public extension NSObject {
return disposeBag
}

set(newValue) {
set {
objc_setAssociatedObject(self, &AssociatedKeys.DisposeBag, newValue, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
}
}
Expand Down

0 comments on commit 91b65e2

Please sign in to comment.