-2

I want to run xcode project from here. I get error message:

No visible @interface for declares the selector ‘set Range With Minimum:and Maximum:’ in SPUGalleryManagedChartViewController.m file.

How to fix it?

 if (self.ranges) {
    for (int i=0; i<self.chart.allAxes.count && i<self.ranges.count; i++) {
      if (self.ranges[i]) {
        SChartRange *range = (SChartRange *)self.ranges[i];
        [self.chart.allAxes[i] setRangeWithMinimum:range.minimum andMaximum:range.maximum]; 
      }
    }
  }
Bista
  • 7,869
  • 3
  • 27
  • 55
user3151148
  • 375
  • 2
  • 3
  • 8

1 Answers1

0

DISCLAIMER I am a developer at ShinobiControls.

We have updated the play gallery repository to be compatible with the latest version of ShinobiCharts (2.9.0).

The issue you were seeing was caused by us removing a previously deprecated method "setRangeWithMin:Max:". This was replaced with the "setRange:" method where you provide the chart with a range object rather than it's min and max values.

Let me know if you have any questions.

MrAPolk
  • 116
  • 2
  • Hello.Thanks you for fix it. But I have another problem with trial license key) I paste my trial license key in viewdidload of ChartsGalleryViewController.m like in instruction. But it still asking with the error message: No ShinobiControls license key given - please set chart.licenseKey = @"" (lldb) – user3151148 Nov 07 '16 at 15:50