ivnsch / SwiftCharts

Easy to use and highly customizable charts library for iOS
Apache License 2.0
2.53k stars 410 forks source link

Build issue in Xcode 10 beta 2 (10L177m) #358

Closed pmurphyjam closed 6 years ago

pmurphyjam commented 6 years ago

SwiftCharts won't build in Xcode 10 beta 2 due String.swift extension method subscript (r:Range) -> String. Error lies in return String(self[Range(start..<end)]) Range no longer supports start to end values in call.

Great library by the way, using it in my App, need this issue fixed since it prevents it from build in iOS12 using Xcode 10.

ivnsch commented 6 years ago

This was fixed in this pr https://github.com/i-schuetz/SwiftCharts/pull/357 Please use master in the meantime, thanks!