title: Swift true false condition for statements or loops
body: <p>In Obj-C, for statement like </p>
  
  <pre><code>if (100){
  NSLog(@"Condition met");
  }
  </code></pre>
  
  <p>100 is equivalent for YES (1). If i understand correct, that in Swift we could only use true or false inside parentheses. So, in Obj-C we can use any non-zero character to indicate that condition met and in Swift, we are only able to use Boolean values true or false?</p>
  
  <p>So, following construction if (anyNonZeroVariable){ ... } would not act like if(true){ ... } in Swift?</p>
  
  <p>Thanks for your help.</p>