Re: error strings in NSPropertyListSerialization

2008-03-27 Thread Adam R. Maxwell
On Mar 27, 2008, at 6:10 PM, B.J. Buchalter wrote: In the docs for [NSPropertyListSerialization propertyListFromData:mutabilityOption:format:errorDescription:] it has the following comment: Special Considerations -- Strings returned in errorString needed to be release

Re: error strings in NSPropertyListSerialization

2008-03-27 Thread Jens Alfke
On 27 Mar '08, at 6:10 PM, B.J. Buchalter wrote: I am writing code that is linked to the 10.4u SDK. Does this mean that I need to release the string? Yes. What happens if my app is run under 10.5? Cocoa detects that your code was linked with the 10.4 SDK and follows the old behavior. (

error strings in NSPropertyListSerialization

2008-03-27 Thread B.J. Buchalter
In the docs for [NSPropertyListSerialization propertyListFromData:mutabilityOption:format:errorDescription:] it has the following comment: Special Considerations -- Strings returned in errorString needed to be released by the caller prior to Mac OS X version 10.5. In