title: 'Use of Unresolved Identifier' in Swift
body: <p>So I have been making an app, and everything has been working great. But today I made a new class like usual and for some reason in this class I can't access Public/Global variable from other classes. All the other classes can, but now when ever I try to make a new class I can't. How would this be fixed?</p>
  
  <p>I am using Swift and Xcode 6.</p>
  
  <p>Working Class:</p>
  
  <pre><code>import UIKit
  import Foundation
  import Parse
  import CoreData
  
  var signedIn = true
  
  class ViewController: UIViewController {
  </code></pre>
  
  <p>New Class:</p>
  
  <pre><code>import UIKit
  
  class NewClass: UIViewController {
  
      override func viewDidLoad() {
          super.viewDidLoad()
  
          signedIn = false
  
  }
  </code></pre>
  
  <p>But on <code>signedIn = false</code></p>
  
  <p>I get the error: </p>
  
  <blockquote>
    <p>use of unresolved identifier "signedIn"</p>
  </blockquote>