SwiftUI Pie Charts and Donut Charts Tutorial
CodeWithChris CodeWithChris
587K subscribers
3,542 views
0

 Published On Aug 9, 2023

In iOS 17, Apple introduced SwiftUI pie charts and donut charts. They’re really easy to use with the new SectorMark component used to construct the pie segments. In this video you’ll learn how to use Pie charts in your app in 4 simple steps!

Source Code:
https://codewithchris.zapier.app/swif...

Reference:
https://developer.apple.com/documenta...
https://developer.apple.com/wwdc23/10037

Timestamps:
00:00 Intro
01:26 Import Charts framework
01:33 Add Chart Component
02:24 Use SectorMark to create the Pie Chart
05:48 Customizing the Pie Chart

show more

Share/Embed