danielgindi / ChartsRealm

A Realm.io module for Charts
Apache License 2.0
133 stars 47 forks source link

Xcode 10.2 / Swift 4.2 Fixes #28

Closed emmavray closed 5 years ago

emmavray commented 5 years ago

BUILD FIXES FOR SWIFT 4.2

Toward issue #27 this PR fixes several build issues in Swift 4.2, which may only be present when using later (4.2-compatible) versions of several dependencies.

• IPieChartDataSet requires useValueColorForLine in data set. • CopyWithZone has been renamed to copy(with: _)

liuxuan30 commented 5 years ago

could you try to update to Swift 5.0 to align with Charts 3.3? Not sure if Realm has updated though