this post was submitted on 02 Jul 2023
2 points (100.0% liked)
Hacking with Swift
90 readers
1 users here now
This community is not affiliated nor endorsed by Hacking with Swift or Paul Hudson
This is a community dedicated to people who use Paul Hudson's Hacking with Swift education materials to learn app development and improve their skills.
Feel free to share your progress with 100 Days of Swift(UI), ask questions about projects you're struggling with or seek assistance in your learning.
We expect you to be civil and constructive as we aim to try and mirror the respectful and helpful climate of other HWS communities across the internet.
Piracy:
- Don't ask for or share any pirated material, this includes "clever" hints
Other communities on related topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Can someone help me figure out what's going on here?
I've working on the Word Scramble project (project 5 I believe), following Paul along as he lays out the basics of the app.
I've reached the end of "Running code when our app launches" module, and the video ends with a random word being picked from the txt list and shown at the top of the app. Paul shows it working in his code, but for whatever reason it's not showing up in mine. I've checked his code and mine side by side and it's identical other than some interface text strings.
Any idea what's going on? Am I missing something super obvious?
Here's my code:
Fixed it. I realised I had the modifiers on the NavigationView, not the List. Such a simple thing to overlook ๐คฆ๐ผโโ๏ธ