Users Pricing

forum

home / developersection / forums / methods:multiple parameters/structure?

Methods:Multiple parameters/structure?

Anonymous User 1271 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]

I am a content writter !


1 Answers