tomaz / appledoc

Objective-c code Apple style documentation set generator.
http://gentlebytes.com
4.19k stars 644 forks source link

The method declaration line break #656

Open ErazerControl opened 2 years ago

ErazerControl commented 2 years ago

Hi, AppleDoc, Current, the doc generated by appledoc show the method declaration as below

image

But I hope it has line break after every paramet, like apple official doc. How can I do?

image
tomaz commented 2 years ago

It's been a long time since I've touched this code base and also since I last wrote a line of code in any Apple language, so writing generally - take a look at parsing and data storage code to first see if it already parses and stores indovidual method parameters (I think it should). Then take a look at output generation code, you'll need to replace the part where method declaration is generated with your code which will output newlines. If I remember correctly output generation uses templates so you'll need to change both, the template and code that generates the data for it.

You can open the project in Xcode, set cmd line parameters for debugger and breakpoint and run it to investigate the data during runtime. It will be the simplest way to get familiar with the code and later change it.

Good luck!