0
有沒有辦法配置XCode自動完成Cocoa方法與最新的,不推薦使用的版本?XCode AutoComplete當前iPhone SDK,未棄用版本?
例如
NSString *myString = @"Hello";
//xcode sets autocomplete to look like this
[myString writeToFile:arg1 atomically:arg2];
//however that gets a warning from the debugger
//the method is deprecated. the new method is:
[myString writeToFile:arg1 atomically:arg2 encoding:arg3 error:arg4];
我還沒有掌握記憶還和我已經一起通過只使用自動完成和檢查文檔時,有一個問題移動。我想知道爲什麼最新的iPhone SDK的默認xcode配置自動完成與不推薦的方法。它可以改變嗎?