• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Question about dataFromPropertyList:format:errorDescription
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Question about dataFromPropertyList:format:errorDescription (From: Eric <email@hidden>)

  • Prev by Date: NSConnection crashes
  • Next by Date: [ANN] MCMPBar 0.1 and other things
  • Previous by thread: Question about dataFromPropertyList:format:errorDescription
  • Next by thread: ssl.h linking error
  • Index(es):
    • Date
    • Thread