Units and Measurements APIs should have newtonsPerMetersSquared renamed to Pascal

Originator:ornithocoder
Number:rdar://30252050 Date Originated:29-Jan-2017
Status:Open Resolved:
Product:iOS + SDK Product Version:
Classification:Duplicate of 26925878 Reproducible:
 
The SI unit for pressure is Pascal (Pa), not N/m^2. Please rename `newtonsPerMetersSquared` to `Pascal` (singular, because it's a unit).

Joule, for instance, has it's unit (instead of kilogramsMetersSquaredPerSecondsSquared).

Steps to Reproduce:
iOS 10 SDK, macOS Sierra SDK

Expected Results:
It should be UnitPressure.pascal instead of UnitPressure.newtonsPerMetersSquared

Actual Results:
One has to use UnitPressure.newtonsPerMetersSquared instead of UnitPressure.pascal

Version:
iOS 10 SDK, macOS Sierra SDK

Configuration:
iOS 10 SDK, macOS Sierra SDK

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!