title: How to create an Array UIImage in Swift
body: <p>This my code</p>
  
  <pre><code>var changePhoto = [UIImage]()
  let photoPng = UIImage(named: "1.png")
  let photoJpg = UIImage(named: "1.jpg")
  
  changePhoto += photoPng
  changePhoto += photoJpg
  </code></pre>
  
  <p>but error "expected declaration"</p>
  
  <p>Please help me! What's wrong?</p>