NSMutableData class reference should document copying behavior of -initWithBytesNoCopy:length:freeWhenDone:

Originator:chaos42
Number:rdar://16280618 Date Originated:10-Mar-2014 02:24 PM
Status:Open Resolved:
Product:Documentation Product Version:
Classification:UI/Usability Reproducible:Always
 
Summary:
NSMutableData's -initWithBytesNoCopy:length:freeWhenDone: copies the bytes anyway, despite the method name. This makes sense, however this is only documenting the the Binary Data Programming Guide. This should be noted in the class reference itself, or at the very least in NSData's class reference.

Steps to Reproduce:
1. Open NSMutableData Class Reference.

Expected Results:
2. I should see an entry on +data/-initWithBytesNoCopy:length:freeWhenDone: that indicates the different behavior from the base class

Actual Results:
2. No such documentation exists in the class reference. 

Version:
NSMutableData Class Reference: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSMutableData_Class/Reference/NSMutableData.html

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!