3 ms·
How so?
by mpweiher 13y ago
How so?
- myko 13y agoIt is difficult to tell at a glance if -foo is returning something or just modifying state.
- mpweiher 13y agoNo it's not. If it didn't return anything, it would be -(void)foo; This is how C and by extension, Objective-C work: to indicate "nothing" you have to put in something, specifically "void".