You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.
Sam-Spencer
changed the title
Result of 'lineGraph(_:labelOnXAxisForIndex:)' has different optionality than required by protocol 'BEMSimpleLineGraphDelegate'
Swift conflicts with deprecated protocol methods
Jul 2, 2016
It looks like the lineGraph:labelOnXAxisForIndex: was originally implemented on BEMSimpleLineGraphDelegate, but is now implemented on BEMSimpleLineGraphDataSource.
This issue has been reported previously and is fixed on the feature branch in commit 83e8acd. Duplicate of #214.
The feature branch has not yet been merged due to breaking changes that need to be tested and announced. If it's not too difficult for your workflow, I would recommend adopting these changes.
This result in an annoying error, which can be fixed by implementing the datasource callback as followed:
The text was updated successfully, but these errors were encountered: