Re: Question about dataFromPropertyList:format:errorDescription
Re: Question about dataFromPropertyList:format:errorDescription
- Subject: Re: Question about dataFromPropertyList:format:errorDescription
- From: Sherm Pendley <email@hidden>
- Date: Thu, 25 May 2006 20:28:58 -0400
On May 25, 2006, at 7:10 PM, Eric wrote:
This particular method from NSPropertyListSerialization returns a
error
string by reference. the curious thing I found in the API doc is
that it
says I must release the string if it is returned. Doesn't this go
against
the Cocoa convention that any object returned by method (other than
alloc,
etc.), directly or via indirection, is autoreleased?
Not really. The convention is that any exceptions to the normal rule
should be clearly documented, and as you've pointed out this one is.
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden