How i can i use the value of a variable from one class in another in objective c?
- by user337174
Hi i am fairly new to objective c and have been doing some iphone programming.
Is it possible to look up the value of a variable in a different class?
Basically what i am doing is running a function that exists in my app delegate from a view controller, but the app delegate needs to use a variable stored in the view controller from which the app delegate function was called. Make sense???
Any help would be grateful.
James