swift - How to override internal framework method in application (outside framework) -


is there anyway override internal framework method when subclassing in swift? ex. superclass

public class barchartrenderer: chartdatarendererbase {    internal func drawdataset(context context: cgcontext, dataset: barchartdataset, index: int) {              ...    } } 

and want override method draw differently dataset (ios-charts)

public class esbarchartrenderer: barchartrenderer {    overide func drawdataset(context context: cgcontext, dataset: barchartdataset, index: int) {              ...    } } 

but when i'm trying override xcode gives me error:

method not override method superclass

because it's internal.

there 1 internal variable need access , same above xcode can't see it.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -