0

What does it mean when you try to import a framework in a class file and you see it's name in the autosuggestions scratched? Like for example:

enter image description here

Now, I thought that maybe it means that I don't need to import it in order to use it, but that's not the case. I've seen this many times for different frameworks and I have no idea what it means... can someone enlighten me please?

Dani
  • 3,427
  • 3
  • 28
  • 54
  • What makes you think that you need the import. Does the project not compile otherwise? – Abizern Aug 11 '17 at 14:49
  • @Abizern - if I don't import it, it doesn't compile – Dani Aug 11 '17 at 14:52
  • 1
    File it as a bug: see https://stackoverflow.com/questions/36180575/xcode-7-3-import-module-displayed-with-strikethrough and https://stackoverflow.com/questions/35671637/the-module-required-to-be-imported-but-displayed-in-strikethrough-font-in-xcode – Abizern Aug 11 '17 at 14:55
  • @Abizern oh, it's a bug. Okay. I thought I was doing something wrong. Thanks – Dani Aug 11 '17 at 14:56

0 Answers0