开发者

Setting IBOutlet to nil

Quick question, are these the same?

self.s开发者_高级运维liderLabel = nil;

AND

[self setSliderLabel: nil];

gary


They are exactly the same.

In fact, at compile time self.sliderLabel = nil; becomes [self setSliderLabel: nil];.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜