Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Objective-C

Name: Anonymous 2009-02-22 2:30

Any Objective-C programmers here?

I'm reading up on dot notation. How come this

[object method:arg1, arg2]

can't be replaced by

object.method(arg1, arg2);

??

Name: Anonymous 2009-02-22 15:09

>>9

So you're saying that I *can't* do

obj.method("bar", NULL, NULL, TRUE, 17, "quux");

in Objective-C 2.0? Then how come I've seen code with dot notation in Objective-C 2.0 with stuff like

obj.foo = 42;

?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List