草庐IT

JBBarChartViewDelegate

全部标签

ios - Swift - Objective C - "Controller"不符合 JBBarChartViewDelegate 协议(protocol)

我正在尝试在Swift应用程序中使用JawBone/JBChartView图表在我的ViewController中,我有:classViewController:UIViewController,JBBarChartViewDelegate{...}我已经实现了符合协议(protocol)的方法:overridefuncheightForBarViewAtIndex(bc:JBBarChartView,index:Int)->Double{//return1;}JBarChartViewDelegate是一个ObjectiveC类,因此要实现的原始方法是:-(CGFloat)barCh