Skip to content
0:00 / 0:00

#swiftui#animation#charts

SwiftUI: Animated Bar Charts and Picker Segmented Style Binding

Lets Build That App

198K subscribers • 5 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • May be out of date. The tools, versions or practices it shows have likely moved on.

Intermediate. Assumes working knowledge.

38K views7 years ago2 recommendations

Mobile developmentSwiftiOS and SwiftUI

How to build animated bar charts and bind segmented pickers in SwiftUI.

Lots of new coding techniques to learn with SwiftUI. One of the best improvements to come along is the ability to add animations quickly in your apps. Doing this is surprisingly easy and we'll go over the tips and tricks today. Maps UIKit SwiftUI: letsbuildthatapp.com/course/Maps-UIKit-SwiftUI Fullstack Social NodeJS iOS HTML: letsbuildthatapp.com/course/Fullstack-Social-iOS-NodeJS-REST AppStore JSON APIs letsbuildthatapp.com/course/AppStore-JSON-APIs Tinder Firestore Swipe and Match letsbuildthatapp.com/course/Tinder-Firestore-Swipe-and-Match Twitter Slide Out Menu Course letsbuildthatapp.com/course/Twitter-Slide-Out-Menu Podcasts Course letsbuildthatapp.com/course/Podcasts Intermediate Training Core Data letsbuildthatapp.com/course/intermediate-training-core-data Facebook Group facebook.com/groups/1240636442694543/ Completed Source Code letsbuildthatapp.com/guides Instagram: instagram.com/buildthatapp/ Twitter: twitter.com/buildthatapp

Why it's here

2 people recommend this

What people say. Recommended as a helpful guide for drawing and animating graphs in SwiftUI.

u/jetchalkin r/swift • Recommends

On “So easy to draw graphs in SwiftUI!”

This video explains it pretty well and its basically the same thing [video

u/triscal1990iOSin r/swift • Recommends

On “How can a slider be "animated" so that it bounces from 0-100 and a button stops it at X?”

Here is my take on what you said. My sources are https://www.hackingwithswift.com/example-code/system/how-to-make-an-action-repeat-using-timer & [video for the idea of the bar and how to build it. Hope this helps! Sorry if there is some random giant bug, that I have overlooked, I just whipped this together quickly. import SwiftUI struct ContentView: View { @State private var value: CGFloat = 0.0 @State private var GameRunning = false @State private var showingAlert = false var body: some View { VStack{ Spacer() BarView(value: value, width: 100) .animati…