Is .playground a swift file? Who can 'see' it?
问题 I'm trying to figure out what .playground file really is. If it's a source file, it cannot (as far as I've tried) be seen by other swift files in the project, nor other .playground files or vice versa. Is a project supposed to have one such file? Are they a kind of swift file? I know what it (.playground file) does, I just can't figure out how it fits in the project. 回答1: A .playground file is actually a bundle directory, which can be verified by right clicking it and selecting "Show Package