@availability Headerdoc Tag does not work
| Originator: | justatheory | ||
| Number: | rdar://16745549 | Date Originated: | 2014-04-28 |
| Status: | Open | Resolved: | |
| Product: | Xcode | Product Version: | Version 5.1.1 (5B1008) |
| Classification: | Bug | Reproducible: | Always |
Summary: I tried putting this into my Headerdoc: @availability MyAwesomeClass v1.0.0 I expected it to then show up next to an "Availability" label in popup text, but instead it's just stuck in willy-nilly with the description text. Steps to Reproduce: 1. Create a header file with an @implementation declaration 2. Above the @implementation, put this Headerdoc: /*! * @brief Awswome widget for widgetizing all the things * * This is a cool widget for widgetizing all the things. * * @availability MAWidget (2.0 and later) */ 3. Option-click the class name to see the documentation popover. Expected Results: Text corresponding to this HTML: <dl> <dt>Description</dt> <dd><p>Awesome widget for widgetizing all the things</p> <p>This is a cool widget for widgetizing all the things.</p></dd> <dt>Availability</dt> <dd>MAWidget (2.0 and later)</dd> <dt>Declared In</dt> <dd>IOVBloomFilter.h</dd> </dl> Note that Availability is in its own <dt><dd> combo. Actual Results: Text corresponding to this HTML: <dl> <dt>Description</dt> <dd><p>Awesome widget for widgetizing all the things</p> <p>This is a cool widget for widgetizing all the things.</p> <p>MAWidget (2.0 and later)</p></dd> <dt>Declared In</dt> <dd>IOVBloomFilter.h</dd> </dl> Note the lack of an Availability <dt>; instead, the availability text is just crammed into the description <dd>. Version: Xcode Version 5.1.1 (5B1008) Notes: Configuration: Attachments:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!