Follow along at https://www.hackingwithswift.com/100/swiftui/46.
This day covers Part Four of Project 9: Drawing
in the 100 Days of SwiftUI Challenge. (Project 9 files can be found in the directory for Part One.)
In addition to recapping the material covered during the project's other days, Day 46 focuses on extending the project according to a set of challenges.
Create an
Arrow
shape made from a rectangle and a triangle – having it point straight up is fine.
- 🔗 Commit
Make the line thickness of your
Arrow
shape animatable.
- 🔗 Commit
Create a
ColorCyclingRectangle
shape that is the rectangular cousin ofColorCyclingCircle
, allowing us to control the position of the gradient using a property.
- 🔗 Commit