title: Objective C - Static and global variable?
body: <p>In my .m file for a class named Ad , I have 3 static strings</p>
  
  <pre><code>static NSString *AdStateDisabled = @"disable";
  static NSString *AdStateExpired = @"expired";
  static NSString *AdStateActive = @"active";
  </code></pre>
  
  <p>I can simply use these static variables in the current class, but i cannot call them from any other class, is there a way to make these static variables global?
  So for example in my viewcontroller class i can do something like.</p>
  
  <pre><code>//HomeViewController.m
  if ([self.ad.state isEqual:Ad.AdStateDisabled])
  {
       //do something
  }
  </code></pre>