Janak Thakkar Janak Thakkar - 1 year ago 110
Swift Question

Swift - Method '*()' with Objective-C selector '*' conflicts with getter for '*' from superclass 'UIView' with the same Objective-C selector

public var borderColor = UIColor.blackColor()

I am using above code in Charts framework and i am facing error with title text.

Toolx - Xcode -8 swift 2.3 Legacy Versionenter image description here

Answer Source

Try renaming the borderColor variable name. It seems the ChartViewBase is using it.

Also please change all property names from your custom classes that are conflicting with your base class variable names and property names.

This should work.. Cheers!

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download