forum

Home / DeveloperSection / Forums / Methods:Multiple parameters/structure?

Methods:Multiple parameters/structure?

Anonymous User 1011 10-Dec-2015

I have notice by looking sample code in iOS, the methods design structures instead of multiple parameters.
Why is that? As far as ease of use, I personally prefer the latter, but as far as performance goes, is there one better choice than the other?

[pencilObj drawPoint:Point3Make(7,9,20)]
[pencilObj drawPointAtX:7 Y:15 Z:25]

Updated on 13-Dec-2015
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By