Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix Xcode 14 compile error#4

Merged
mustiikhalil merged 1 commit into
masterfrom
xcode-14
Aug 25, 2022
Merged

Fix Xcode 14 compile error#4
mustiikhalil merged 1 commit into
masterfrom
xcode-14

Conversation

@mustiikhalil

@mustiikhalil mustiikhalil commented Aug 25, 2022

Copy link
Copy Markdown

Fixing compiler errors for xcode 14, since it seems that ChartsOrg#4874 is stale, while xcode 14 and iOS 16 are around the corner.

Thanks to dangthaison91

@joeboyscout04 joeboyscout04 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM


for case let set as PieChartDataSetProtocol in pieData where
set.isVisible && set.entryCount > 0
for case let dataSet as PieChartDataSetProtocol in pieData where

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some inconsistency if the as ChartData) cast is necessary or not. We have it for Candle and Radar but not for Pie chart?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joeboyscout04 This commit was cherry-picked from a different user, so i would rather keep it as is

@mustiikhalil mustiikhalil merged commit a017c8b into master Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants