title: Why does Int(false) work but Int(booleanVariable) does not?
body: <p>The code shown below:</p>
  
  <pre><code>Int(false) // = 1, it's okay
  
  //but when I try this
  let emptyString = true //or let emptyString : Bool = true
  Int(emptyString) //error - Cannot invoke initializer with an argument list of type '(Bool)'
  </code></pre>
  
  <p>Can anyone explain this fact? It's confusing. What happens inside?</p>