I was surprised by the dissatisfaction with the timer and the frequent updating of the view. The code does what suppose to do and actually doing that pretty well with hi performance. If you update elapsed time value every second in a loop and display this value in a text view then obviously the Time View with all subviews will refresh every second. Just because it is a struct and its state was changed. At first glance it could sounds scary. However SwiftUI is pretty smart, it checks state of each subview and redraw only view where it's own state was changed. Of course there are a number of criteria that must be met such as avoiding AnyView etc. So if you understand how SwiftUI view lifecycle works it stops being something scary.
Why do we have so many speakers nowadays. I'm not talking about her because she knows what she doing but there's so many scammers trying to sell a copy paste course
Because the business of online course is too easy to scale, pay attention to the experience of those who teach, an excellent principle is to see concretely how long they have been doing what they teach. Our speakers are all carefully selected, you will never find a scammer 😉
I was surprised by the dissatisfaction with the timer and the frequent updating of the view. The code does what suppose to do and actually doing that pretty well with hi performance. If you update elapsed time value every second in a loop and display this value in a text view then obviously the Time View with all subviews will refresh every second. Just because it is a struct and its state was changed. At first glance it could sounds scary. However SwiftUI is pretty smart, it checks state of each subview and redraw only view where it's own state was changed. Of course there are a number of criteria that must be met such as avoiding AnyView etc. So if you understand how SwiftUI view lifecycle works it stops being something scary.
Great video Zamzam! Gives a really good picture to help chose/not to chose SwiftUI for upcoming production projects.
really helpful 💎
Why do we have so many speakers nowadays. I'm not talking about her because she knows what she doing but there's so many scammers trying to sell a copy paste course
Because the business of online course is too easy to scale, pay attention to the experience of those who teach, an excellent principle is to see concretely how long they have been doing what they teach.
Our speakers are all carefully selected, you will never find a scammer 😉
I love that name....ZAMZAM
👏👏👍
30 minutes to say SwiftUI is great? Everyone knows it after 5 years :D
come on, those are some interesting reflections 👀