Alejandro L.
Alejandro L.

Reputation: 1076

How to add information to the method fill helper in XCode?

I don't know how to explain it very well, so that's why an image value is more than one thousand words, I hope my screenshot help.

Thank you.

enter image description here

EDIT: As you can see in the first id init, I'm pointing to a rectangle that has some information about id init constructor/method/selector, but this information comes from apple NSObject init I guess, and I want my constructor/method/selector prompts extra information while selecting in the method fill helper, as you can see in the second id initWithGPSPointNum ... there is no information, because I don't know how to put there the information I want.

Upvotes: 2

Views: 346

Answers (1)

Abizern
Abizern

Reputation: 150615

The help hints come from the installed docsets.

You can generate and install docsets for your own custom classes and install them in Xcode to get this extra information as well as auto-completion.

One way that is convenient is appledoc

This uses a convenient and familiar syntax, and produces web formatted output as well as docsets and can even be configured to generate and install the docsets automatically.

Upvotes: 3

Related Questions