Objective-C has no named arguments . There are also no "keyword arguments".
Objective-C uses what are called "alternating arguments." That is, the name of the method alternates with the arguments to get a more descriptive and readable code.
[myObject setWidth:w height:h]
In the above description, it is generally reported that myObject sets the width w and the height to h.
In the above case, the method name - its selector - is exactly setWidth:height: No more no less.
All this is explained in the Objective-C guide .
source share