Reference Passing - Objective C
|
Pro contributor
|
|
| 7Dec2011,04:58 | #1 |
|
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).
|
|
Mentor
|
![]() |
| 9Dec2011,23:12 | #2 |
|
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.
|
|
Banned
|
|
| 9Dec2011,23:31 | #3 |
|
As xpi0t0s told Objective C is not the same as c or c++.
|

