so I have a project with a name that's annoying to type out all the time, when specifying the "namespace" of a class, like
MyAppName.MyClass()
So I changed the Product Module Name
in XCode's Build Settings
to "Global" so that I can use it like this:
Global.MyClass()
Everything is working, except that I won't get auto-complete suggestions when typing in Global.
It worked before so changing the Product Module Name
messed something up.
Do you know what I can do to fix auto-complete?
Try deleting xcuserdata from your xcworkspace. Then clean Derived Data and restart XCode.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.