title: Swift 3 : binary operator cannot be applied to operands of type int and 'Int?'
body: <p>I am getting the error when trying to make a for loop like this </p>
  
  <pre><code>for i in  0..&lt;firstJSON["boxGroups"].array?.count{
     existingGroups.append(firstJSON["boxGroups"][0]["name"].stringValue)
   }
  </code></pre>
  
  <p>Xcode is complaining  "binary operator cannot be applied to operands of type int and 'Int?'"</p>