From the course: Complete Guide to SwiftUI
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Challenge: Apply gradients to overview
From the course: Complete Guide to SwiftUI
Challenge: Apply gradients to overview
- [Instructor] Okay, time for a challenge. Let's spruce up the ignored order view to look like this. Using the gradient stops we've already made, make this linear gradient background for the view. Next, since Huli Pizza is a Hawaiian company, let's do something with a rainbow. Make a rainbow cell background with a radial background, so it'll look like this. Finally, while we have the deletion button on the bottom here, you've yet to delete other entries. Using the remove order id method of order model, delete entries on a long press. We'll also remove that delete button on the bottom while we're at it. And finally, let's animate those deletions with this two-second bouncy animation. Okay, give that a try.