I have several methods that I want to denounce.
I am doing this with the following:
+(void)myMethod:(NSString*)abc __deprecated;
This works, but how do I add a message? Something like "use instead of xml instead of xody" ...
thanks
As Nichols Smith mentioned in the comments. Decision:
__attribute((deprecated("use x method")))
I would like to use this:
__deprecated_msg("use method x instead")
but not:
__attribute((deprecated("use method x instead")))
They are really the same under the hood, but at first it's a little more clear.
I think you need to use the documentation generator: Doxygen, Headerdoc, etc.
I recommend you Appledoc . It is easy to use, very well documented and has a markdown style.