title: Create Constant At Run Time, But Access the Constant In Other Funcs
body: <p>For the below code, I have a variable that is assigned a value in the didMoveToView func. After the value has been assigned, this variable will not change it's value again.</p>
  
  <pre><code>var myDevice: String!
  
  override func didMoveToView(view: SKView) {
  
      if frame.size.height == 480 {
  
          myDevice = "iPhone 4"
  
      } else if frame.size.height == 568 {
  
          myDevice = "iPhone5"
  
      } else {
  
          myDevice = "iPhone 6 or 6 plus"
  
      }
  
  }
  
  override func touchesBegan(touches: Set&lt;UITouch&gt;, withEvent event: UIEvent?) {
  
      print(myDevice)
  
  }
  </code></pre>
  
  <p>What I was hoping to do, is setup the variable as a constant instead, but be able to still access it through out the project. The problem with this is, if I set the variable as a constant, I can't then assign that constant with a value at run time.</p>
  
  <p>I'm not 100% sure what the benefits are of having the value set as constant over a variable, but I feel like I can read the code a little easier.</p>