SwiftUI 4.0 - New Swift Charts API - Customisation, Animations & Gestures - Xcode 14 - WWDC 2022

  Рет қаралды 27,378

Kavsoft

Kavsoft

Күн бұрын

Пікірлер: 52
@TheBeader
@TheBeader 2 жыл бұрын
In 12:05 , Just set the value unit to ".hour" will make the rule mark placed in the middle of BarMark. RuleMark(x: .value("Hour", currentActiveItem.hour, unit: .hour))
@Kavsoft
@Kavsoft 2 жыл бұрын
Yes !!! Thanks for Sharing !!! More to discover on Xcode 14 !!!
@ConnorW8
@ConnorW8 2 жыл бұрын
pin-worthy comment
@Stephen2697.
@Stephen2697. 2 жыл бұрын
Awesome, fantastic observing your coding style. Learned loads of neat swiftui tricks. Thank you for sharing - Opening Xcode 14 right now!
@alaxhenry0121
@alaxhenry0121 2 жыл бұрын
Recently I learned many of amazing swift skill from you. I appreciate it Kavsoft :) Thank you and have a good day!!!
@TheSouza61
@TheSouza61 2 жыл бұрын
Awesome... Thanks for developing this kind of content..
@dev_jeongdaeri
@dev_jeongdaeri 2 жыл бұрын
Always thanks 🙏😍
@AntonDobrynin
@AntonDobrynin Жыл бұрын
Thanks! I hate graphs and u really save my time!
@Mahadev-x7u
@Mahadev-x7u 2 жыл бұрын
Thank you so much Balaji…✨🔥💯❤️
@claudiocantieni3626
@claudiocantieni3626 2 жыл бұрын
Thanks!
@zehaolee7201
@zehaolee7201 2 жыл бұрын
thanks, it's really beautiful.
@juancarlosrangel2128
@juancarlosrangel2128 Жыл бұрын
Charts is only available for iOS 16 +
2 жыл бұрын
New Window, Windows please as a POI's view (tables) 😉👍 Is SwiftUI 4.0 on Monterey?
@arturo7392
@arturo7392 2 жыл бұрын
Can you add to the line graph a little fading color like CoinMarketCap?
@gastonf23
@gastonf23 6 ай бұрын
anyone with this Error message? The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
@faxntv7352
@faxntv7352 2 жыл бұрын
super nice video, just a quick question, in your graph the last xlabel or group is cut (8...) do you know how to fix that?
@amirsayed1186
@amirsayed1186 2 жыл бұрын
I followed the tutorial, but I have an issue, for me the RuleMark annotations showing the views count doesn't get on top of the chart and affects its width when on first and last elements, applying a zIndex didn't change anything.. do you have any suggestion?
@darrenkeverne
@darrenkeverne Жыл бұрын
Great video, learnt a lot, but yeah, I get the same problem, so it seems does Natan Felipe below, seems the view is trying to render the annotation which doesn't quite fit, so it moves the chart over to align it. In the video it seems the annotation can go outside of the bounds of the chart?
@leandro5406
@leandro5406 3 ай бұрын
same issue, can't figure out how to fix that
@sparshgupta3922
@sparshgupta3922 Жыл бұрын
Hi, Great Video as usual! I'm encountering one problem: the box with the data comes above the graph and doesn't get shown. I've written the same code, It would be really great if someone help me here!
@ehzihsux1090
@ehzihsux1090 7 ай бұрын
same issue
@kironet
@kironet 9 ай бұрын
Won't this crash the app with error "index out of range" when you quickly(faster than the DispatchQueue delay) change tabs that have different amount of data?
@natefarrell9623
@natefarrell9623 2 жыл бұрын
Amazing! Using that same DragGesture logic do you think it would be possible to implement chart zooming?
@FRkiddo
@FRkiddo Жыл бұрын
more chart videos please!
@HH2NYC
@HH2NYC 2 жыл бұрын
Great tutorial! Could you give any advice on how I can skip every other label on the x-axis?
@Kavsoft
@Kavsoft 2 жыл бұрын
.chartXAxis(.hidden)
@HH2NYC
@HH2NYC 2 жыл бұрын
@@Kavsoft But that hides the complete axis. I just want to skip every second label on this axis (e.g. not "A", "B", "C", "D", "E" but "A", "C", "E").
@TheseEyesSeeDarknessClearly7
@TheseEyesSeeDarknessClearly7 2 жыл бұрын
Is there a way to hide the values on the chart? I would like to move the y axis values to the top of each point on the chart and hide the x axis values
@TheseEyesSeeDarknessClearly7
@TheseEyesSeeDarknessClearly7 2 жыл бұрын
Nevermind I found it. Just add the chartXAxis(.hidden) modifier to Chart
@in5786
@in5786 2 жыл бұрын
Thanks your sharing,but too bad it doesn't work on iOS 15.Can you recommend to draw Line Chart method for iOS15 please
@Kavsoft
@Kavsoft 2 жыл бұрын
Check this video kzbin.info/www/bejne/q4aQnZhqgK2gpdk Usage kzbin.info/www/bejne/sJatgquDYpmigsU
@natanfelipe3002
@natanfelipe3002 2 жыл бұрын
I don’t know why but my graph keeps moving when the rule mark shows in the line’s edges
@Dupernite
@Dupernite 9 ай бұрын
I know it's been a year, but I'm having the same issue, did you find a solution?
@natanfelipe3002
@natanfelipe3002 9 ай бұрын
@@Dupernite no bro, it’s been a year and I’m still looking for the solution :/
@natanfelipe3002
@natanfelipe3002 9 ай бұрын
@@Dupernite I’m joking, but I really don’t remember how I fixed this. I’m sorry
@Dupernite
@Dupernite 9 ай бұрын
no worries, thanks for actually responding!@@natanfelipe3002
@0keyman1010
@0keyman1010 7 ай бұрын
@@Dupernite I know it's been a month, but I'm having the same issue, did you find a solution? :)
@sprytz93
@sprytz93 2 жыл бұрын
I have problem with for(index,_), I can't do that. Do you think is some problem with Xcode 14.0? Thanks and awesome video!
@Kavsoft
@Kavsoft Жыл бұрын
Could you explain a little bit more about your issue?Because I couldn’t get it
@sprytz93
@sprytz93 Жыл бұрын
@@Kavsoft I don't know why but when I write "for(index, _)" for example in the .onChange, like your line 66. I have "index" that is not highlighted on purple. I checked all my code different time.
@sprytz93
@sprytz93 Жыл бұрын
​@@Kavsoft Ok , I supported you with Patreon, thank for sharing all your information and quality for the projects, I really love. I checked my code with yours and I tried to change every part with yours, but the canvas didn't show me the chart. So I tried to start the simulation and all work. When I came back to the project the canvas start to work. I think it was a bug. Thanks
@tarun3105
@tarun3105 Жыл бұрын
@@sprytz93 I don't know why but when I write "for(index, _)" for example in the .onChange, like your line 66. I have "index" that is not highlighted on purple. I checked all my code different time. same for me , what was the issue if you can please tell thanks
@melAncHOLY_MAN
@melAncHOLY_MAN 2 жыл бұрын
Hi. Great Video Kavsoft! How can I add a Average Line into a Barchart? And also add a explicit y-axis-label-value to this average horizontal line? Like the Charts in Screentime. Thanks, you are amazing 💪🏻
@DevdeTestests
@DevdeTestests Жыл бұрын
probably just calculate it yourself and add it as RuleMark with custom annotation?
@succeeder3044
@succeeder3044 2 жыл бұрын
is this xcode 14 beta?
@Kavsoft
@Kavsoft 2 жыл бұрын
Yes
@succeeder3044
@succeeder3044 2 жыл бұрын
@@Kavsoft alright
@ehzihsux1090
@ehzihsux1090 7 ай бұрын
I don’t know why but my graph keeps moving when the rule mark shows in the line’s edges
@leandro5406
@leandro5406 3 ай бұрын
same, probably a higher xcode version change... could you fix it?
SwiftUI Bar Chart with Customizations | Swift Charts
21:26
Sean Allen
Рет қаралды 27 М.
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 13 МЛН
Don't underestimate anyone
00:47
奇軒Tricking
Рет қаралды 27 МЛН
Meet Swift Charts in SwiftUI 4 - WWDC 2022 (iOS, macOS, iPadOS)
6:48
Entire piano filled with water sounds UNREAL
19:54
Mattias Krantz
Рет қаралды 7 МЛН
Play: The Secret Weapon for iOS Devs & Designers
10:12
Sean Allen
Рет қаралды 36 М.
Selection and PieCharts in iOS 17
20:57
Stewart Lynch
Рет қаралды 3,3 М.
WWDC24: What’s new in SwiftUI | Apple
23:13
Apple Developer
Рет қаралды 77 М.
SwiftUI Charts Basics Tutorial
10:00
CodeWithChris
Рет қаралды 11 М.
Create Graphs & Charts in App with Swift 5 (Xcode 12 | 2023)
18:38
Scrolling Charts in iOS 17
22:37
Stewart Lynch
Рет қаралды 3,8 М.