• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
@property and HeaderDoc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

@property and HeaderDoc


  • Subject: @property and HeaderDoc
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 20 Oct 2008 17:38:10 -0700

The scripts menu in Xcode has some nice macros for generating HeaderDoc comments for classes, methods, etc. Some of them need improvement, but I've gotten so that I use them every day.

But they don't know how to handle @property declarations.

As far as the programmer is concerned, even though they may be generated at run-time or whatever, an @property declaration states the existence of a getter and (unless readonly) a setter. Correct? So, would it make sense to have a menu script which would generate accessor method documentation from @property declarations? When I design a non-trivial accessor, writing documentation helps me to make fewer mistakes.

Has anyone thought about making HeaderDoc support @property declarations? Besides a new Xcode menu script to generate the HeaderDoc comment, I believe that the HeaderDoc generator tool would also need some code added to parse the declaration itself.

Jerry Krinock

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: @property and HeaderDoc
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: How to draw a Recessed Button Shadow
  • Next by Date: Re: lockFocus error
  • Previous by thread: Re: GDB Problems
  • Next by thread: Re: @property and HeaderDoc
  • Index(es):
    • Date
    • Thread