XCode does not give any useful information in autocomplete

微笑、不失礼 提交于 2019-12-11 07:43:08

问题


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.



来源:https://stackoverflow.com/questions/7461895/xcode-does-not-give-any-useful-information-in-autocomplete

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!