Re: Do I "own" objects returned to me by reference?
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