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).