Units and Measurements APIs should use singular form instead of plural
| Originator: | ornithocoder | ||
| Number: | rdar://30252033 | Date Originated: | 29-Jan-2017 |
| Status: | Open | Resolved: | |
| Product: | iOS + SDK | Product Version: | |
| Classification: | Reproducible: |
Name of units should be their singular form. Eg. 'meter' instead of 'meters'. It's OK to say '5 meters', but it's completely wrong to call the unit of length of 'meters', because it's 'meter'. BIPM is the International Bureau of Weights and Measures, an international standards organization established to maintain the International System of Units (SI). From BIPM's website - http://www.bipm.org/en/measurement-units/base-units.html - units are always on their singular form. Example: Unit: meter. Quantity: 5 meters. Unit: kilogram. Quantity 10 kilograms. Some examples from the Unit and Measurements API: * metersPerSecondSquared -> meterPerSecondSquared * degrees -> degree * arcMinutes -> arcMinute * arcSeconds -> arcSecond * radians -> radian UnitAcceleration.gravity, for instance, uses the singular form (and correct). Steps to Reproduce: iOS 10 SDK, macOS Sierra SDK Expected Results: Unit names should be in their singular form. Actual Results: Most of them are on their plural form. Version: iOS 10 SDK, macOS Sierra SDK Notes: 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!