How i can i use the value of a variable from one class in another in objective c?
Posted
by user337174
on Stack Overflow
See other posts from Stack Overflow
or by user337174
Published on 2010-05-19T11:07:05Z
Indexed on
2010/05/19
11:10 UTC
Read the original article
Hit count: 171
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
© Stack Overflow or respective owner