• 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: Do I "own" objects returned to me by reference?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do I "own" objects returned to me by reference?


  • Subject: Re: Do I "own" objects returned to me by reference?
  • From: Ondra Cada <email@hidden>
  • Date: Sat, 6 May 2006 18:40:47 +0200

Adam,

On 6.5.2006, at 6:39, Adam R. Maxwell wrote:

rdar://3068938
Hopefully they don't returning an autoreleased string, or those of use who read the documentation will be in trouble :).

Can't speak for Apple of course, but a self-evident solution would be not to change the method at all (just mark it deprecated), and add + [NSPropertyListSerialization dataFromPropertyList:format:error:] one, which would return an autoreleased NSError.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



_______________________________________________ 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: 
 >Do I "own" objects returned to me by reference? (From: Jerry Krinock <email@hidden>)
 >Re: Do I "own" objects returned to me by reference? (From: Shawn Erickson <email@hidden>)
 >Re: Do I "own" objects returned to me by reference? (From: "Adam R. Maxwell" <email@hidden>)
 >Re: Do I "own" objects returned to me by reference? (From: Jim Correia <email@hidden>)
 >Re: Do I "own" objects returned to me by reference? (From: "Adam R. Maxwell" <email@hidden>)

  • Prev by Date: Re: Versioning and CoreData
  • Next by Date: How to get NSTreeController's added object or child
  • Previous by thread: Re: Do I "own" objects returned to me by reference?
  • Next by thread: Cocoa-heads Lake Forest next week, 5/9, now with free stuff!
  • Index(es):
    • Date
    • Thread