From f4ddfbda39f36efb7b90d318cba688b59d79cbef Mon Sep 17 00:00:00 2001 From: Jesse Farless Date: Sat, 14 May 2016 10:46:38 +0200 Subject: [PATCH] Use new Swift selector syntax in comment --- RxCocoa/Common/DelegateProxyType.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RxCocoa/Common/DelegateProxyType.swift b/RxCocoa/Common/DelegateProxyType.swift index ffd5bc37..01174535 100644 --- a/RxCocoa/Common/DelegateProxyType.swift +++ b/RxCocoa/Common/DelegateProxyType.swift @@ -167,7 +167,7 @@ extension DelegateProxyType { } public var rx_text: ControlProperty { - let source: Observable = self.rx_delegate.observe("searchBar:textDidChange:") + let source: Observable = self.rx_delegate.observe(#selector(UISearchBarDelegate.searchBar(_:textDidChange:))) ... } }