Type Safely

Type Safely

Share this post

Type Safely
Type Safely
Animate The New Pie Chart With Data You Can Add At Runtime
Copy link
Facebook
Email
Notes
More

Animate The New Pie Chart With Data You Can Add At Runtime

Daily Coding Tip 287

Type Safely's avatar
Type Safely
Jun 14, 2023
∙ Paid

Share this post

Type Safely
Type Safely
Animate The New Pie Chart With Data You Can Add At Runtime
Copy link
Facebook
Email
Notes
More
Share
pie on white ceramic plate
Photo by Diliara Garifullina on Unsplash
Last Tested on Xcode 15.0 beta 1

There are a number of new additions to the Charts framework, and one of them is the ability to create pie charts. This is done using SectorMark, as shown below. I am first creating an Item that will represent a single data point with a title and amount. I have made it Identifiable s…

Keep reading with a 7-day free trial

Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More