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?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.