ivnsch / SwiftCharts

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

Swift 4.2 compile error #376

Closed sparklefly closed 5 years ago

sparklefly commented 5 years ago

2019-01-08 9 57 29

Don't know why these errors come out, that's odd. Pls help to fix, thanks.

iamvijay7 commented 5 years ago

Hey facing same issue any solution?

venky05 commented 5 years ago

Even i am facing same issue

ivnsch commented 5 years ago

The project is compiling and running fine with Xcode 10.1. The declared Swift version is 4.2.

I think you may be using an older Swift version - for example bringSubviewToFront is the current correct way to write it, see https://developer.apple.com/documentation/uikit/uiview/1622541-bringsubviewtofront