title: if statement expected declaration error (swift code language)
body: <p>I do not see what my problem is. I am new to this Xcode stuff and i just want some help with the expected declaration error. this is my code</p>
  
  <p>var myname = UITextInput.self</p>
  
  <pre><code>let age = Int()
  
  if age {
  print ("error")
  } else {
  print ("welcome," + String(myname))
  }
  </code></pre>
  
  <p>xcode is showing and expected declaration. can some one please help me. thanks</p>