how to set and access variable values from another classess
- by BittenApple
I am modifying QuartzDemo example app and want to do set and read values of integer type variables in other classes which are already included.
For example, in MainViewController.m I want to set a numeric value (simple numbers from 1-100) to a variable which is then going to be called (read) in file QuartzImages.m.
Question is how to define variable properly, set and access (read) the value.
I am a beginner with Obj C and iPhone SDK in general and have some experience with Delphi and VB but this doesn't help at all :)
Thank you, whoever and wherever you are, person who will take me out of this endless googling loop.