Add documentation for variantFittingPresentationWidth(_:) method

Originator:daniel.martin.carabias
Number:rdar://37435276 Date Originated:11-Feb-2018 12:25 PM
Status:Open Resolved:
Product:Documentation Product Version:iOS 11
Classification:Enhancement Reproducible:Always
 
Summary:
To support adaptive width strings for localization, the NSString class has an instance method since iOS 9, variantFittingPresentationWidth(_:), but it is currently not documented (see https://developer.apple.com/documentation/foundation/nsstring/1413104-variantfittingpresentationwidth). I think that to help with the adoption of this feature, it should at least show the header documentation that is in NSBundle.h, part of the Foundation framework.

Steps to Reproduce:
- Go to https://developer.apple.com/documentation/foundation/nsstring/1413104-variantfittingpresentationwidth

Expected Results:
The instance method is documented.

Actual Results:
The instance method is not documented.

Version:
iOS 11

Notes:

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!