2 ms·
It is difficult to tell at a glance if -foo is returning something or just modifying state.
by myko 13y ago
It 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".