Access localized unit names and abbreviations from HKUnit

Originator:me
Number:rdar://21426331 Date Originated:17-Jun-2015 08:29 PM
Status:Open Resolved:
Product:iOS SDK Product Version:Xcode-7 (7A120f)
Classification:Security Reproducible:Always
 
Summary:
There should be a way to get localized unit names and abbreviations from HKUnit

Steps to Reproduce:
Get an HKUnit, such as with HKUnit.literUnit()

Expected Results:
Ask for its .localizedAbbreviation or .localizedString

Actual Results:
Only .unitString() is available

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!