NSByteCountFormatterCountStyleFile's documentation reports its behavior as the opposite of what it does
| Originator: | AriXmail | ||
| Number: | rdar://25540159 | Date Originated: | 04-Apr-2016 03:54 PM |
| Status: | Closed | Resolved: | 27-Jun-2016 01:39 PM |
| Product: | Documentation | Product Version: | |
| Classification: | Reproducible: | Always |
Summary: The documentation for NSByteCountFormatterCountStyleFile notes that "on OS X 10.8, this uses the binary style, but that may change over time." In NSByteCountFormatter.h, though, it's stated that "on OS X 10.8, this uses the decimal style, but that may change over time" Steps to Reproduce: 1. Look at NSByteCountFormatter documentation 2. Look at NSByteCountFormatterCountStyleFile comments in NSByteCountFormatter.h Expected Results: They should be consistent and accurate. Actual Results: The notes in NSByteCountFormatter.h are correct and the documentation is incorrect. The documentation incorrectly states that it uses "the binary style." In reality, it uses the decimal style as noted in the header file. Version: https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSByteCountFormatter_Class/#//apple_ref/c/tdef/NSByteCountFormatterCountStyle Notes: Configuration: Attachments:
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!
"Apple Developer Relations 27-Jun-2016 01:39 PM
Engineering believes this issue has been resolved.
Please verify here: https://developer.apple.com/reference/foundation/nsbytecountformatter"