uiviewcontroller - IPHONE How to access variables from other classes/viewcontrollers -
I have an app that uses several view controllers. In an example, I need to use a difference (int life) in different view controllers from where it has been created. I have tried to use it and throws it out and does not claim to claim "life" to the error. I already import visual controller where the int was announced. I'm stuck on this one
I appreciate any help
Use properties or custom setter and greater for instance variables.
Comments
Post a Comment