With the latest update to Swift, I can use classes, functions, etc. from Foundation and UIKit without the need to include import instructions in them. If I add an import statement to Xcode, it shows that it is crossed out as if it had depreciated.
You no longer need to include import instructions for some modules, such as Foundation and UIKit in Swift?
source
share