diff --git a/RxCocoa/Common/DelegateProxyType.swift b/RxCocoa/Common/DelegateProxyType.swift index 9db51bc8..8b0992e9 100644 --- a/RxCocoa/Common/DelegateProxyType.swift +++ b/RxCocoa/Common/DelegateProxyType.swift @@ -196,7 +196,7 @@ public func proxyForObject(type: P.Type, _ object: AnyObje func installDelegate(proxy: P, delegate: AnyObject, retainDelegate: Bool, onProxyForObject object: AnyObject) -> Disposable { weak var weakDelegate: AnyObject? = delegate - assert(proxy.forwardToDelegate() === nil, "There is already a set delegate \(proxy.forwardToDelegate())") + assert(proxy.forwardToDelegate() === nil, "There is already a delegate set -> `\(proxy.forwardToDelegate())` for object -> `\(object)`.\nMaybe delegate was already set in `xib` or `storyboard` and now it's being overwritten in code.") proxy.setForwardToDelegate(delegate, retainDelegate: retainDelegate)