drtimcooper / LatLongToTimezone

Lat/long to timezone mapper in Java. Does not require web services or data files - just pure Java or Swift.
MIT License
169 stars 33 forks source link

The swift version could do with updating to Swift 2.2 and subsequent #7

Closed JetPCUK closed 8 years ago

JetPCUK commented 8 years ago

According to Swift 2.2 they are going to deprecate the i++ type interation syntax starting from 3.0. Also the classic c-style for loop will be deprecated for the new swift 'for i in 0...10' style loops. It would be nice if you could update the swift file syntax accordingly at some stage.

Both of these issues are present in the 'contains' function

akirmse commented 8 years ago

Done in version 1.0.3. Thanks for the suggestion.