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

compiling for iPhone4s gives error like #344 #475

Closed
Stay-in-Touch opened this issue Oct 14, 2015 · 1 comment
Closed

compiling for iPhone4s gives error like #344 #475

Stay-in-Touch opened this issue Oct 14, 2015 · 1 comment

Comments

@Stay-in-Touch
Copy link

ambiguous use of dataset
Is ios-chart supposed to work with 4s? It works beautifully with iPhone 6 in the simulator but I get this error when I start to test on other phones.

public override func isEqual(object: AnyObject?) -> Bool
{
    if (object === nil)
    {
        return false
    }

    if (!object!.isKindOfClass(self.dynamicType))
    {
        return false
    }

    if (object!.value != _value)
    {
        return false
    }

    if (object!.dataSetIndex != _dataSetIndex)
    {
        return false
    }

    if (object!.dataSet !== _dataSet)  // error is here
    {
        return false
    }

    return true
}

}

JOhn

@liuxuan30
Copy link
Member

It has nothing to do with hardware model so far, only iOS version. Upgrade your ios-charts to swift 2.0 and Xcode 7 and try again. #344 is fixed in da0877b

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

2 participants