NSNumberFormatter thread safety notes refer to NSDateFormatter

Originator:rix.rob
Number:rdar://19599861 Date Originated:26-Jan-2015 01:04 PM
Status:Open Resolved:
Product:Documentation Product Version:10.10 SDK
Classification:Other Bug Reproducible:Always
 
Summary:
The thread safety notes for NSNumberFormatter refer to NSDateFormatter instead:

“THREAD SAFETY

On iOS 7 and later NSDateFormatter is thread safe.

On OS X v10.9 and later NSDateFormatter is thread safe so long as you are using the modern behavior in a 64-bit app.

On earlier versions of the operating system, or when using the legacy formatter behavior or running in 32-bit on OS X, NSDateFormatter is not thread safe and you therefore must not mutate a date formatter simultaneously from multiple threads.”


Steps to Reproduce:
Go and look at the NSNumberFormatter docs, specifically the thread safety section.


Expected Results:
I expected to read about NSNumberFormatter’s thread safety.


Actual Results:
I actually read about NSDateFormatter’s thread safety. It’s not 100% clear whether I can assume that s/Date/Number/ will be accurate, either, so as it stands I’ve no idea what the thread safety of NSNumberFormatter is.


Regression:
N/A

Notes:
N/A

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!