diff --git a/iOS/Projects/Shared/CombineCocoa/Sources/UIView+Publisher.swift b/iOS/Projects/Shared/CombineCocoa/Sources/UIView+Publisher.swift index b9143271..2b51551b 100644 --- a/iOS/Projects/Shared/CombineCocoa/Sources/UIView+Publisher.swift +++ b/iOS/Projects/Shared/CombineCocoa/Sources/UIView+Publisher.swift @@ -18,9 +18,10 @@ public extension UIView { public typealias Output = UIGestureRecognizer public typealias Failure = Never - let targetView: UIView - let gesture: UIGestureRecognizer - init(targetView: UIView, gesture: UIGestureRecognizer) { + private let targetView: UIView + private let gesture: UIGestureRecognizer + + public init(targetView: UIView, gesture: UIGestureRecognizer) { self.targetView = targetView self.gesture = gesture }