不废话,直接上代码!!!!!!
//只需要在ChartDataSet的extension ChartDataSet: RangeReplaceableCollection 中增加 下方代码
public func replaceSubrange<C>(_ subrange: Swift.Range<Int>, with newElements: C) where C :
Collection, ChartDataEntry == C.Element {
}
不废话,直接上代码!!!!!!
//只需要在ChartDataSet的extension ChartDataSet: RangeReplaceableCollection 中增加 下方代码
public func replaceSubrange<C>(_ subrange: Swift.Range<Int>, with newElements: C) where C :
Collection, ChartDataEntry == C.Element {
}
本文标题:iOS pod 'Charts' 报错 public func
本文链接:https://www.haomeiwen.com/subject/qdknfjtx.html
网友评论