Reference Passing - Objective C

hanleyhansen's Avatar, Join Date: Jan 2008
Pro contributor
Can someone please explain reference passing specifically for Objective C? Explaining it in general would help too. Basically I have added a class in my program but this class needs to use the variables and write to the objects in main ViewController (it's for an iOS application). How can i share these variables and objects between the classes? What is the proper way of passing reference (i think that is the proper term for it).
xpi0t0s's Avatar, Join Date: Aug 2004
Objective C is not the same as either C or C++ so you'd probably better off asking in an iForum. Speaking personally, I have no idea, and no chance to get into iObj-C as it's a Mac-OS-only IDE, and I have no need for a Mac.
sura's Avatar
As xpi0t0s told Objective C is not the same as c or c++.