from ObjectiveC to ECMAscript

Posted by eco_bach on Stack Overflow See other posts from Stack Overflow or by eco_bach
Published on 2010-05-08T17:28:02Z Indexed on 2010/05/08 17:38 UTC
Read the original article Hit count: 511

Going thru the excellent Apress books on Objective C. To help in my undertanding, I try and recode any Ojective C code samples in Java/Action-script. One common structure in method calls in ObjC leaves me a bit puzzled.

-(id) initWithPressure: (float) pressure
      treadDepth: (float) treadDepth;

(in ECMAscript)Would this be most similar to 1 method call with multiple arguments OR 2 method calls, each with a single argument?

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about ecmascript