title: Objective C, Classes, & Global Variables
body: <p>I've been learning Objective-C and just recently started using classes (instead of having everything in the ViewController). I'm running into a problem in that I don't know what to do with variables that I want to be accessible in other classes.</p>
  
  <p>I have a NSArray of UIView that is created in my "ViewController". It is then passed to my "LayoutManager" that sets their frame based on the screen size. This array also needs to be accessed from my "BlockManager" and "ColorManager".</p>
  
  <p>What is the best way to handle this array and other variables in similar cases. Should I use a global variable, and if so, how? Or is there a better way to do it?</p>