When I copy a Swift file and paste it from my folder, it does not appear in xCode.
Generally IDEs organize projects internally and to add a file to the project it is necessary to do the IDE, you can not paste into the project folder.
It is questionable whether an IDE is monitoring the folder to add a file pasted there automatically.
In the case of XCode it is next to the creation of the project, Add Files To
: