while typing in Xcode, (objective - c for iPhone dev)
Suppose I write
[mySprite
[[here mySprite is an object of sprite class ( cocos2d - for game development ). ]]
After writing this, if I press ## esc ## key.
It will show me all the methods.
Lets take an example,
If I am using [mySprite position]; method,
How can I came to know, what actually ## position ## method returns?
Let's take an example of other Integrated development environment.
.net provides a tool tip, when we press ctrl + space, it will show all the properties & methods with it's signature & other hints. Does x Code provides the same?
( actually, Before being a iphone developer - i was .net trainee developer, So, actually I am expe开发者_Python百科cting something like .net )
In Xcode, open Preferences, go to Code Sense, and check "Show arguments in pop-up list". Now the list will show return types and parameters.
精彩评论