diff --git a/RxCocoa/Common/DelegateProxyType.swift b/RxCocoa/Common/DelegateProxyType.swift index 485b9e35..ffd5bc37 100644 --- a/RxCocoa/Common/DelegateProxyType.swift +++ b/RxCocoa/Common/DelegateProxyType.swift @@ -163,7 +163,7 @@ extension DelegateProxyType { extension UISearchBar { public var rx_delegate: DelegateProxy { - return proxyForObject(RxSearchBarDelegateProxy.self, self) + return RxSearchBarDelegateProxy.proxyForObject(self) } public var rx_text: ControlProperty {