I'm enjoying the risks of refactoring some poorly named methods in Xcode 7.1
and the refactorer is mentioning "Ambiguous Type: Message sent to id." for
methods sent to a delegate.
Before I give it a shot, is this a case where using instancetype to return the
instance of the object that holds
Thanks. It appears that the instancetype didn't help, as I had already
converted the init method to return the instancetype instead of id.
Yeah, oddly enough, the object that's conforming to the protocol is using
delegate/protocol and calling a method in the delegate - which isn't even
> On Nov 9, 2015, at 10:58 AM, Alex Zavatone wrote:
>
> Before I give it a shot, is this a case where using instancetype to return
> the instance of the object that holds the method a better choice than id?
It sounds like your delegate API is using the old “informal protocol”