I'm creating an iOS app which uses Shinobi Charts(SChart), when a row/cell in a Shinbo Grid is selected a SChart is created in a UIView. This calls the code to init the chart and set the datasource and delegate, which is in its own class.
1) - (void)shinobiGrid:(ShinobiGrid *)grid didSelectCellAtCoord
2.1) init chart
2.2) set datasource and delegate(separate class)
2.3) add chart to view
My app will crash after I've selected a different row/cell a few times, this is error I get, ['ChartDatasourceClassName' respondsToSelector:]: message sent to deallocated instance 0x1e5ce580
Can anyone help me with this problem? If you need more information please let me know.
Thank you for your time and help.
Jing Jing Tao