Fast import operations no longer needed

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?

+4
source share
1 answer

This seems to be a bug in Xcode 7.3.0. As you said, if you continue to import it, there should be no problem with Amy. I assume that in the coming days or weeks we will see an update to fix some errors. Apple is preparing to release Xcode 8 with Swift 3 in June and is preparing a program to switch.

+2
source

All Articles