09‐Ran - molab-itp/content-2026-itp GitHub Wiki
Week 1
- Study 100 Days of SwiftUI Day1-7
- Playground: rock paper scissors!
When I want to let the function to randomly choose one icon from rock, paper and scissors, it shows this error.
The system gives me to two options to fix this problem. I test both and both of them works. But it feel weird for me if no icon is picked then I just give it a default value (like defaulting to rock if no icon is picked, feeling like it would increase the possibility even though I doubt if the random picker would fail to pick) So I use ! instead to force-unwrap the value.
Week 2
- Study 100 Days of SwiftUI Day1-7
- Playground: Pattern Making
Week 3