My project was created in Xcode 3, I'm opening it in Xcode 4 and notice the following:
When creating a new Xcode 4 project however, these features do seem to work. Unfortunately the only workaround seems to be to recreate the project and re-import everything. This project is too large!
Things I've tried:
Update
Go to Xcode > Preferences > Text Editing again. Quit out of Xcode and then relaunch Xcode. Now go to Code completion and check 'Suggest completions while typing'. Try typing library function or enum and enjoy!
Using Code completion in XcodeOnce enabled, Xcode will now offer code completion based on what you have typed and offer suggestions for completing the syntax.
P: property (IIRC Xcode favors L/V for Swift, but you see P for ObjC properties)
Press the escape key when auto-complete makes the first suggestion. This will display the list. Escape or control-comma will show the list, control-period will accept the current suggestion and (subsequently) rotate through suggestions, control-slash will move to the next placeholder argument that was inserted.
On Window Menu:
A little tip from other's answer:
After step.4 don't rebuild the project but just restart Xcode.
What worked for me when i lost xcodes super nice code hinting was:
Window(menu) -> Organizer(menu) -> Projects(tab)
then
Press delete Derived Data (this is the same as going to the folder and deleting it manually)
BUT!!!!! at this step dont rebuild but shut down xcode and reopen of the project. This worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With