Charts Framework in SwiftUI

Опубликовано: 25 Май 2026
на канале: Stewart Lynch
19,803
285

This video shows you how you can implement the UIKit Charts Framework (see link below) into a SwiftUI project. I work through a BarChartsView example, but the knowledge learned should help you move forward to use any of Chart types.

Charts Framework:
https://github.com/danielgindi/Charts

2nd Example Tutorial using Pie Charts
   • Charts Framework SwiftUI  -  PieChart  

Table of Contents:
0:00 Introduction
1:00 Adding the Charts Framework to a project
3:00 Creating a UIViewRepresentable
7:47 Formatting the Chart
23:54 Adding delegate functions

Starter Project Files:
http://www.createchsol.com/StarterPro...

Completed Project:
https://github.com/StewartLynch/Chart...

Other References:
UIKit Integration With SwiftUI video:
   • UIKit Integration with SwiftUI  

Stewart Lynch's YouTube Channel:
   / stewartlynch  
Stewart Lynch on Twitter:
  / stewartlynch  
CreaTECH Solutions Website:
https://www.createchsol.com
Stewart Lynch's GitHub:
https://github.com/StewartLynch

Buy me a coffee :)
https://ko-fi.com/stewartlynch

******* Download my StewartLynch YouTube Channel Application - Free **********
https://stewartlynch.gumroad.com/l/obsjz