Trouble with User settable controls


#1

Experiencing the following crash log error:

2015-03-02 09:45:50.667 iosappxyz[62229:1420377] -[SChartBackedUserSettable setUserSet:]: unrecognized selector sent to instance 0x7ff84953d9c0

crashes the app - everything used to work under 32-bit version just added the new version of ShinobiCharts to the app and started experiencing this.

Any suggestions?


#2

Hi Joe,

Thanks for getting in touch!

Sorry to hear your experiencing this crash with our library.

This is an unknown issue with our charting component.

Could you email the following information to us at info@shinobicontrols.com linking to this forum post:

  • What version of ShinobiCharts are you using?
  • Does this happen on any specific devices/simulators?
  • Is there any chance you could manipulate one of our sample apps to replicate your issue and send it to us?

This would really help us identify the source of your issue.

Kind regards,
Andrew Polkinghorn


#3

I just updated to latest build of Chart premium from 2.54 and I experience the same crash

exception ‘NSInvalidArgumentException’, reason: ‘-[SChartBackedUserSettable setUserSet:]: unrecognized selector sent to instance 0x7fdc9bcd7620’

*** First throw call stack:

(

0   CoreFoundation                      0x0000000105dc0a75 __exceptionPreprocess + 165

1   libobjc.A.dylib                     0x0000000105998bb7 objc_exception_throw + 45

2   CoreFoundation                      0x0000000105dc7d1d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205

3   CoreFoundation                      0x0000000105d1f9dc ___forwarding___ + 988

4   CoreFoundation                      0x0000000105d1f578 _CF_forwarding_prep_0 + 120

5   FIATSPA_2014                        0x000000010133570a -[SChartMajorGridlineStyle setShowMajorGridLinesSet:] + 74

6   FIATSPA_2014                        0x0000000100f27dd4 +[ShinobiChart(CandlestickChart) candlestickChartForStockData:] + 4148

7   FIATSPA_2014                        0x0000000100ef3cd2 -[InteractiveChartRangeSelector createMainChartWithFrame:] + 98

8   FIATSPA_2014                        0x0000000100ef352e -[InteractiveChartRangeSelector initWithFrame:splitProportion:] + 942

9   FIATSPA_2014                        0x0000000100e8db5d -[InteractiveChartGraphViewController viewDidLoad] + 445

10  UIKit                               0x00000001045f5580 -[UIViewController loadViewIfRequired] + 738

11  UIKit                               0x00000001045f577e -[UIViewController view] + 27


#4

I tested with many versions and I can confirm that the crash happens using

2.73 (all the hotfix versions also)

2.71

2.61
2.60

The latest working with my project is
2.57


#5

Hi,

showMajorGridLinesSet is something we use internally and should not really be public (I’ll raise a task to get this fixed, so thanks for pointing this out!).

Could you make sure when you wish to show/hide the gridlines to use  showMajorGridLines  (not  showMajorGridLinesSet ).

Please get back to us if that doesn’t fix your issue.

Thanks,

Sam