Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Day 24: Project 3: Views and Modifiers (Part Two)

Follow along at https://www.hackingwithswift.com/100/swiftui/24.

📒 Field Notes

This day covers Part Two of Project 3: Views and Modifiers in the 100 Days of SwiftUI Challenge. (Project 3 files can be found in the directory for Part One.)

In addition to recapping the material covered during the project's other days, Day 24 focuses on extending the project according to a set of challenges.

🥅 Challenges

Challenge 1

Create a custom ViewModifier (and accompanying View extension) that makes a view have a large, blue font suitable for prominent titles in a view.

Challenge 2

Go back to project 1 and use a conditional modifier to change the total amount text view to red if the user selects a 0% tip.

Challenge 3

Go back to project 2 and create a FlagImage() view that renders one flag image using the specific set of modifiers we had.

📸 Screenshots