4

How to show Quick Help for the methods which we wrote ...? Like for inbuilt function when we right click on it & Click Quick Help then we get all info about that method like that I want to do for user defined methods so that any one come to know that method takes which parameter and each parameter for which purpose? For more explanation, see these two images:

THis image shows when click on inbuilt function of UITextField

THis image shows when click on user defined function of UITextField

Donald Duck
  • 8,409
  • 22
  • 75
  • 99
Apple_Magic
  • 477
  • 8
  • 26

2 Answers2

1

Here is a solution for that. Also check apple documentation. You might have to create document set and install it in Xcode.

Edit: Here is another similar post, How do you populate the Xcode 4 "Option+Click" popover?

Community
  • 1
  • 1
iDev
  • 23,310
  • 7
  • 60
  • 85
1

There is an open source tool called appledoc which helps with this. You can provide your own documentation in the header files and then run the appledoc script which will (depending on your settings) generate the docsets, install them into Xcode, create a HTML for the documentation as well as rss feeds so that changes to the documentation can be published.

Abizern
  • 146,289
  • 39
  • 203
  • 257