func number(_ plot: CPTPlot, field fieldEnum: UInt, record idx: UInt) -> Double { .... }
I've tried various things but nothing seems to work. I get a compiler warning that
Instance method 'number(_:field:record:)' nearly matches optional requirement 'number(for:field:record:)' of protocol 'CPTPlotDataSource'
I've done Google searches on this and the various solutions mentioned there don't seem to work. I've seen in mentioned a couple times that this may be a bug in XCode 8.
I'm surprised not to see this mentioned here as an issue since the function I'm trying to implement as a delegate would seem to be extremely common, so I would think everyone would run into this.
Unless I did something wrong, I have upgraded to the latest core-plot by coping the new .a file and the headers, but I'll double check that.
- Andy