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

最新版更新后的问题 #3927

Closed
123LI opened this issue Apr 3, 2019 · 5 comments
Closed

最新版更新后的问题 #3927

123LI opened this issue Apr 3, 2019 · 5 comments

Comments

@123LI
Copy link

123LI commented Apr 3, 2019

open override func copyWithZone(_ zone: NSZone?) -> AnyObject
{
let copy = super.copyWithZone(zone) as! RealmBaseDataSet

    copy._results = _results
    copy._yValueField = _yValueField
    copy._xValueField = _xValueField
    copy._yMax = _yMax
    copy._yMin = _yMin
    copy._xMax = _xMax
    copy._xMin = _xMin
    
    return copy
}
@123LI
Copy link
Author

123LI commented Apr 3, 2019

open class RealmPieDataSet: RealmBaseDataSet, IPieChartDataSet
{

@123LI
Copy link
Author

123LI commented Apr 3, 2019

Type 'RealmPieDataSet' does not conform to protocol 'IPieChartDataSet'

func copyWithZone(_ zone: NSZone?) -> AnyObject。Method does not override any method from its superclass

let copy = super.copyWithZone(zone) as! RealmBaseDataSet Static member 'copyWithZone' cannot be used on instance of type 'ChartBaseDataSet'

@XiaoArea
Copy link

XiaoArea commented Apr 4, 2019

I also have this situation, need I change it manually?

@123LI
Copy link
Author

123LI commented Apr 10, 2019

I also have this situation, need I change it manually?
解决了没有 😄

@liuxuan30
Copy link
Member

liuxuan30 commented Apr 24, 2019

RealmBaseDataSet is about Realm. So you should ask on ChartsRealm btw.

ChartsRealm didn't get updated yet. So maybe this is the reason.

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

No branches or pull requests

3 participants