Source directory?

What’s source code directory? And, where it is?

P.S. I’m getting an error, maybe it’s because of this… I don’t know. Please reply to this, and I’ll follow up with questions.

@iswiftshek First of all, make sure the Project Navigator is visible in Xcode by going to View\Navigators\Show Project Navigator. Next, right-click on Sources and select New File from the menu to create Node.swift.

Please let me know what error do you get exactly when you get a chance. Thank you!

The videos won’t open, it’s just grey screen…

@iswiftshek Do you still have issues with this?

@iswiftshek Thanks very much for your question!

My guess is to create the file inside the directory you’re working from. This should be on the left pane of Xcode where you can see all the directories and folders. This is a very straight forward example so honestly, it shouldn’t be difficult to figure out. As I said, on the left pane of Xcode, you should see all the folders and directories of your project listed. The “Sources” directory should be the folder where other .swift files in the project are kept. Simply create the file there, and you should be good to go. :slight_smile:

I hope this helps!

All the best!