Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Reference Passing - Objective C (http://www.go4expert.com/forums/reference-passing-objective-c-t27302/)

hanleyhansen 7Dec2011 04:58

Reference Passing - Objective C
 
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 9Dec2011 23:12

Re: Reference Passing - Objective C
 
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 9Dec2011 23:31

Re: Reference Passing - Objective C
 
As xpi0t0s told Objective C is not the same as c or c++.


All times are GMT +5.5. The time now is 16:59.