On Sep 10, 2010, at 1:05 PM, Dave DeLong wrote:
> *Unless the documentation says otherwise.  Consider, for example, +[NSData 
> dataWithBytesNoCopy:...].


True, although that particular method is taking ownership of a buffer, not of 
an object. I would be curious if there are any APIs that actually take 
ownership of an object from you, but I bet that they're very rare.

-- 
Dave Carrigan
d...@rudedog.org
Seattle, WA, USA

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to