阅读背景:

您是否应该使用委托或类本身将委托设置为nil

来源:互联网 

If class A is using class B and class A is class B's delegate, is it ok if the delegate is set to nil in class B's dealloc? I have seen code usually resetting the delegate to nil inside class A's dealloc but wasn't sure the real difference doing it one way or the other.If class A is using class B and class A is clas




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: