开发者

Setting IBOutlet to nil

开发者 https://www.devze.com 2022-12-17 01:13 出处:网络
Quick question, are these the same? self.s开发者_高级运维liderLabel = nil; AND [self setSliderLabel: 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

精彩评论

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