Group Group Group Group Group Group Group Group Group

FileManager.documentURL is not recognized by Xcode

Hello !

I am learning through the Book SwiftUI apprentice, and I’m currently stuck at the JSON part.
While I’m copy-pasting the code that’s in the book, I’m getting this error.
Can you help me? I’m trying to find what’s wrong online but couldn’t find a solution atm… :frowning:

1 Like

Hi Charlie!

Did you copy FileManagerExtensions.swift from the starter project into your project?

This is in the starter project section:

FileManagerExtensions.swift holds a static property that contains the Documents folder URL.

1 Like