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:))) ... } }