NSMeasurementFormatter setLocale nulls its numberFormatter
Originator: | indiekiduk | ||
Number: | rdar://FB8816822 | Date Originated: | 21/10/2020 |
Status: | Open | Resolved: | |
Product: | Documentation | Product Version: | |
Classification: | Suggestion | Reproducible: |
Please provide the URL of the content you reporting an issue with: https://developer.apple.com/documentation/foundation/nsmeasurementformatter/1642061-locale?language=objc I would recommend stating that setting a locale also clears the numberFormatter. This user experienced losing their number format when setting the locale so if this was documented it might have helped: https://openradar.appspot.com/48920090
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!