This question already has an answer here:
With the latest update to Swift, I'm able to use classes, functions, etc. from Foundation and UIKit without having to include the import statements for them. If I add the import statement in Xcode, it shows it crossed out, as if it's depreciated.
Is it no longer necessary to include import statements for some modules like Foundation and UIKit in Swift?
This appears to be a bug in Xcode 7.3.0. As you said, if you continue to import it, there shouldn't be Amy problems. My guess is that we will see an update in the coming days or weeks to fix some of the bugs. Apple is getting ready to release Xcode 8 with Swift 3 in June and are getting the program ready for the switchover.
這似乎是Xcode 7.3.0中的一個錯誤。如你所說,如果你繼續導入它,不應該有艾米問題。我的猜測是,我們會在未來幾天或幾周內看到更新以修復一些錯誤。 Apple正准備在6月份發布帶有Swift 3的Xcode 8,並准備好進行切換。