How can I find out the return types of methods in xcode? - iphone development

when typing in Xcode, (target is c for iPhone dev)

Suppose I write

[mySprite

[[here mySprite is a sprite class object (cocos2d is for game development). ]]

After writing this, if I press ## es ##.

He will show me all the methods.

Let's take an example,

If I use [mySprite position]; Method,

How can I find out what the ## position ## method returns?

Let's take an example of another IDE.

.net provides a hint, when we press ctrl + space, it displays all properties and methods with its signature and other hints. Does x Code provide the same?

(actually, before being an iphone developer - I was a .net developer intern, So actually I expect something like .net)

+2


source to share


1 answer


In Xcode, open Preferences, go to Code Sense, and check the Show arguments in popup list box. The list will now show the return types and parameters.



+5


source







All Articles