diff --git a/Package.swift b/Package.swift index fc2811d4..c7defb11 100644 --- a/Package.swift +++ b/Package.swift @@ -18,7 +18,7 @@ let package = Package( // Targets can depend on other targets in this package, and on products in packages which this package depends on. .target( name: "Action", - dependencies: ["RxSwift", "RxCocoa"], + dependencies: ["RxSwift", "RxCocoa", "RxRelay"], path: "Sources/Action") ] ) diff --git a/Sources/Action/Action.swift b/Sources/Action/Action.swift index dbd5fa75..ceed502c 100644 --- a/Sources/Action/Action.swift +++ b/Sources/Action/Action.swift @@ -1,6 +1,7 @@ import Foundation import RxSwift import RxCocoa +import RxRelay /// Typealias for compatibility with UIButton's rx.action property. public typealias CocoaAction = Action