|
Hi I'm currently doing the 1st Project of 100 days of Swift At this part: https://www.hackingwithswift.com/read/1/3/designing-our-interface If I run the build, all I get is still a white screen, instead of the Table View As you can see in the picture, I think there is some sort of error, the Console spins forever. See a screenshot https://imgur.com/a/EqRjnrv I have followed all the steps in the course, so not sure what is wrong. Anyone knows how to troubleshoot this? Thank you |
|
Have you done this
If not then make sure you do Setting up otherwise you have no data to work with! |
|
Hi Nigel. Yes, I have added the images as you can see, just like in the tutorial The code is correct too. But still, the view I see in the Storyboard (an empty, scrollable table) is not populated when I run the build. |
|
did it print out the images names in console? you need to do the next step as you are missing the code for the table view |
|
Hi Nigel Yes it does print the image names. I went up until this part where Paul says when I build the app, I should see a table view instead of a white screen, but I still see a white screen https://youtu.be/0hMgOfF8tyQ?t=545 When I close the Simulator it gives a crash message so something seems wrong but I do not know what |
|
I can now see the table, only after I added the cells So Xcode doesn't show an empty table like in Paul's video, this is where I thought I had something wrong. So the problem is solved now, thank you |
SPONSORED Alex is the iOS & Mac developer’s ultimate AI assistant. It integrates with Xcode, offering a best-in-class Swift coding agent. Generate modern SwiftUI from images. Fast-apply suggestions from Claude 3.5 Sonnet, o3-mini, and DeepSeek R1. Autofix Swift 6 errors and warnings. And so much more. Start your 7-day free trial today!
Sponsor Hacking with Swift and reach the world's largest Swift community!
This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.