开发者

Setting an object's delegate multiple times

开发者 https://www.devze.com 2023-03-20 05:14 出处:网络
If I do object.delegate = self; then in that object\'s implementation do self.delegate = object; Does that rewrite the object\'s delegate or doe开发者_StackOverflow社区s it assign it multiple delega

If I do object.delegate = self; then in that object's implementation do self.delegate = object;

Does that rewrite the object's delegate or doe开发者_StackOverflow社区s it assign it multiple delegates?


If you do object.property = 1, then do object.property = 2, is property equal to both 1 and 2?

It'll rewrite the delegate.

0

精彩评论

暂无评论...
验证码 换一张
取 消