Does objective-c support pass by value methods? Or maybe more specifically:
thank
No. By default, it is passed by default, as in C. Except for the fact that for references to instances of the Objective-C class, the value is a reference. In this way, instances of the Objective-C class are effectively passed by reference.
N / a
See 1.
Not really. You can serialize, pass a string and recreate inside. Or you can have an object storing it ivars as a structure, and pass that structure by value. Some objects support cloning.
Objective-C does not support references, at least not in the sense of the C ++ term.
Objective-C , " " . , , . , ++ ( , ...)
, :