UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

SOLVED: Day 40 - "Loading a specific kind of Codable data", I get Error " cannot preview in this file - Message send failure for update" HELP

Forums > 100 Days of SwiftUI

Hello, I am currently on day 40, and in the first video lession, I code evrything from the video and cant get it to work. I even start a new project and copy past 100% the same from the lession, but still i cant get it to work, looks like the error comes when the app tries to load the Json. It triggers the fatal error on loaded.. any advice?

(I run Xcode 13.2.1)

2      

Okey I just found the problem, I downloaded the project files on 1.11.21, but the file is different, not json for som reason, however now I redownloaded all the files, and now its working. Was a good practice to solv bugs :P

2      

Hacking with Swift is sponsored by RevenueCat

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.

Learn more here

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

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.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.