title: Optional type '$T11' cannot be used as a boolean; test for '!= nil' instead since installing XCode 6 beta 7
body: <p><strong>Here is the code where I'm getting the error:</strong></p>
  
  <pre><code>for (key, value) in info {
      let fieldValue: AnyObject? = value
  
      if (!fieldValue || fieldValue?.length == 0) { // this line gives the error
          informationComplete = false;
      } 
  }
  </code></pre>
  
  <p><strong>This is what XCode suggests I use which causes another error:</strong></p>
  
  <pre><code>for (key, value) in info {
      let fieldValue: AnyObject? = value
  
      if ((!fieldValue || fieldValue?.length == 0) != nil) { //bool not convertible to string
          informationComplete = false;
      }
   }
  </code></pre>
  
  <p>Help is appreciated.</p>
  
  <p>Thanks for your time</p>