ivnsch / SwiftCharts

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

Does not compile with Swift 4.2 #370

Closed BergQuester closed 6 years ago

BergQuester commented 6 years ago

Problem

Pod does not compile in project that uses Swift 4.2. I have tried both release 0.6.2 and the latest master commits and both have issues compiling. See screenshot below for error details.

Solution

Run Xcode's Swift syntax converter on master.

image

av8ramit commented 6 years ago

Hitting this same issue.

abhilashkhare commented 6 years ago

I'm also facing the same issue - below is the screenshot.

swiftchartsissue

jethmalani commented 6 years ago

I am getting the same issues. Do you know when you will update to swift 4.2?

ivnsch commented 6 years ago

Please ensure that you updated to 0.6.2. As you can see here, Range is not being used.

There's a full update (for the warnings) to 4.2 in mater. You can link to master in your podfile. I'll release 0.6.3 with this update soon.