views:

45

answers:

1

Quick question, are these the same?

self.sliderLabel = nil;

AND

[self setSliderLabel: nil];

gary

+7  A: 

They are exactly the same.

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

gcamp
Don't you mean, 'becomes `[self setSliderLabel: nil];`'
drewh
Fixed that 1 min before you commented :)
gcamp
Thank you, much appreciated.
fuzzygoat