Xcode 7.3 autocomplete is so frustrating

前端 未结 11 883
小鲜肉
小鲜肉 2020-12-04 07:55

There is a new autocomplete in Xcode. Probably might be useful because it checks not only beginning of names etc. But I found that very often it doesn\'t find a class name o

11条回答
  •  执念已碎
    2020-12-04 08:59

    After having tried different methods:

    • Delete Derived Data
    • Switching Module Enabled off in Build Settings
    • Full Clean
    • Relaunch

    Only this worked:

    • Find any commented out (/* abc */) code after @end in your files and delete.

    Credit to Max_B: https://forums.developer.apple.com/thread/7439

    In my case, other projects were auto-completing correctly. If all your projects fail to correctly predict code, then it might be a different issue, and the other answers might work.

提交回复
热议问题