title: Swift: ++ is deprecated - replaced code not working
body: <p>I know that "++" will be removed in Swift 3 and it has to be raplaced:</p>
  
  <p>+= 1</p>
  
  <p>but in this code, when I change to this value, I get error:</p>
  
  <pre><code>override func viewDidLoad() {
      super.viewDidLoad()
  
      imageView.image = images[index++]
      animateImageView()
  }
  </code></pre>
  
  <p>When I insert:</p>
  
  <pre><code>imageView.image = images[index += 1]
  </code></pre>
  
  <p>I get error. How to change this code? This is image transition code (if I need, I'll pos whole code) and in Simulator everything works, but still, I would like to change it.</p>