Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode 10.2 / Swift 4.2 Fixes #28

Closed
wants to merge 2 commits into from

Conversation

emmavray
Copy link

@emmavray emmavray commented Apr 3, 2019

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: _)

@emmavray emmavray mentioned this pull request Apr 3, 2019
open override func copyWithZone(_ zone: NSZone?) -> AnyObject
{
let copy = super.copyWithZone(zone) as! RealmBarDataSet
open override func copy(with zone: NSZone? = nil) -> Any {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe better to match the code style put the { next line

@liuxuan30
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants