On Jul 14, 2014, at 12:57 PM, "Gary L. Wade" <garyw...@desisoftsystems.com> 
wrote:

> where you're creating the object

On Jul 14, 2014, at 12:53 PM, Jens Alfke <j...@mooseyard.com> wrote:

> If you’re the one creating the NSData object in the first place, can you 
> create it as an NSMutableData? 

Certainly that makes sense enough, just hoping against hope that there might be 
a certain exemption to it. Unfortunately I'm "stuck in the middle" of an 
existing workflow. I receive an NSData from an outside section, must delete 
certain cruft, add other fields, and pass it on. So I have to do this:

    modifiableData = [ NSMutableData dataWithData: [ external call that gives 
me an NSData ] ];

Will get it working first, and if there's a performance panic, perhaps 
something can be done (but I extremely doubt it).
Thanks for the info!
-Carl
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to