In older versions of Xcode (before Xcode 4.1), hitting ESC would give a very useful autocomplete window, including the return value of any methods available. However, in XCode 4.1, hitting ESC gives a much less useful autocomplete helper. It dos not give the return value of methods, and only lists methods and variables which have already been utilized in the current file. Is there a way to get back the old functionality, which was much more useful?
XCode does not give any useful information in autocomplete
Asked Answered
Try closing Xcode and restarting. Sometimes that will regenerate the code index. Doing so will usually help. –
Virginiavirginie
Try deleting derived data folder which holds the project's index information (classes & methods employed in the project) and reopening the project. Doing so will kick in the indexer of Xcode.
Path to derived data folder can be found in Organizer's (Cmd+Shift+2) Projects tab.
© 2022 - 2024 — McMap. All rights reserved.