From the course: Complete Guide to SwiftUI
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Challenge: Variants, modes, and effects
From the course: Complete Guide to SwiftUI
Challenge: Variants, modes, and effects
- [Instructor] Okay, on this challenge, we're going to work on the status bar and use a couple of SF symbols to make this work better. After $50 in pizza for Huli pizza, the customer gets a discount. So what we're going to do is hide the rainbow when there is $0 in sales, we'll also add a rainbow that grows to the full rainbow as the total for the order reaches $50 or above. After $50, animate the rainbow to change the colors. For the order cart, on the first items ordered, bounce the cart. When you reach $50 in orders, increase the size of the cart. For all of this, change the icons to use SF symbols effectively. Use symbol variance and symbol effects instead of the animation code we've been using now. And finally, make the grid icon disappear when you are in order view. Okay, let's give that a try.
Contents
-
-
-
-
-
-
-
-
-
-
-
(Locked)
SF Symbols app3m 59s
-
(Locked)
SF Symbols variants4m 53s
-
(Locked)
SF Symbols in color: Monochrome and multicolor4m 2s
-
(Locked)
SF Symbols in color: Palette and hierarchical3m 28s
-
(Locked)
SF Symbols variable color3m 42s
-
(Locked)
SF Symbols animation, part 13m 44s
-
(Locked)
SF Symbols animation, part 23m 47s
-
(Locked)
Replace effects3m 56s
-
(Locked)
Challenge: Variants, modes, and effects55s
-
(Locked)
Solution: Variants, modes, and effects7m 4s
-
(Locked)
-
-
-
-
-
-
-