p. 599 - [Solved] "The name of the preceding method is doSomething:withAnotherPara"
On page 599, it says that the name of the preceding method* is doSomething:withAnotherPara, but shouldn't it be doSomething:withAnotherPara:value ?
* -(void) doSomething:(NSString *) str withAnotherPara:(float) value
If I'm wrong, is there a reason we don't include "value" ?
[Update]: 1:55pm PT
I should have just kept reading
"The presence or absence of colons in a method name dictates which method is invoked during runtime"
Last edited by ZeroFill; November 1st, 2011 at 04:56 PM.