title: Xcode 10 - image literals no longer available
body: <blockquote>
    <p>Xcode 10 Release Notes: "Code Completion for Swift image literals has been removed in Xcode 10"</p>
  </blockquote>
  
  <p>So it's not a bug that I couldn't add images in the code (and run older projects). How do we then add images from now on in the code as just typing <code>UIImageView(image:</code> won't accept any png or jpeg.</p>
  
  <pre><code>let cellImage: UIImageView = {
      let image = UIImageView(image: ???))
  
      return image
  }()
  </code></pre>
  
  <p>System: macOS Mojave<br>
  Xcode: Xcode 10 Beta 4</p>