                     
                     iv.center = CGPointMake(CGFloat(i) * distance + halfWidth * CGFloat(i - 1),
                         self.frame.size.height/2)
-                    i++
+                    i += 1
                 }
         }
     }

            return
        }
        
        for var i = 1; i <= starCount; i++ {
            let iv = UIImageView(image: offImage)
            addSubview(iv)
            stars.append(iv)

        }
        
        layoutStars()

        let touch = touches.first!
        let touchLocation = touch.locationInView(self)
        
        var i = starCount - 1
        while i >= 0 {
            let imageView = stars[i]
            
            let x = touchLocation.x;
