From c1aa38011b447accce242f3ebf110184a891ed9c Mon Sep 17 00:00:00 2001 From: insub Date: Wed, 6 Dec 2023 12:50:29 +0900 Subject: [PATCH] Update UIBuilder.swift --- Sources/UIBuilder/UIBuilder.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/UIBuilder/UIBuilder.swift b/Sources/UIBuilder/UIBuilder.swift index 1624c31..56e9ac7 100644 --- a/Sources/UIBuilder/UIBuilder.swift +++ b/Sources/UIBuilder/UIBuilder.swift @@ -76,7 +76,7 @@ extension UIBuilder { } - public func setTapPublusher(_ cancellables: inout Set,_ action: @escaping () -> Void) -> Self { + public func setTapPublisher(_ cancellables: inout Set,_ action: @escaping () -> Void) -> Self { view.tapGesturePublisher.sink { _ in action() }.store(in: &cancellables)