title: Binary operator '..<' cannot be applied to operands of type 'Int' and 'CGFloat'
body: <p>I'm trying to create a for loop but can't seem to understand how to get rid of this error</p>
  
  <p>My code:</p>
  
  <pre><code>for i:CGFloat in 0 ..&lt; 2 + self.frame.size.width / (movingGroundTexture.size().width) { 
          let sprite = SKSpriteNode(texture: movingGroundTexture)
          sprite.zPosition = 0
          sprite.anchorPoint = CGPointMake(0, 0)
          sprite.position = CGPointMake(i * sprite.size.width, 0)
          addChild(sprite)
      }
  </code></pre>
  
  <p>The error is on <code>for</code> line on <code>self.frame.size.width</code> and <code>(movingGroundTexture.aize().width)</code></p>