Re: NSArray to string and back problems
Re: NSArray to string and back problems
- Subject: Re: NSArray to string and back problems
- From: glenn andreas <email@hidden>
- Date: Thu, 24 Nov 2005 08:09:49 -0600
On Nov 24, 2005, at 1:24 AM, Colin Cornaby wrote:
Right. I've also tried:
[NSPropertyListSerialization dataFromPropertyList:filtersToArchive
format:NSPropertyListXMLFormat_v1_0 errorDescription:nil]
And that didn't work either, it simply return nil.
(filtersToArchive is an array). I haven't gone through and debugged
it yet with the errorDescription.
Property lists can only contain a handful of things (NSData,
NSString, NSNumber, NSDate, NSArray, or NSDictionary). You're got:
2005-11-23 21:38:37.992 Catalyst[17542] (
{
CIFilterName = CIHueAdjust;
inputAngle = 1.475182809936707;
inputImage = {CIImage [0 0 22 26]};
}
)
which shows that you're trying to use properly list serialization on
a CIImage.
You'll need to use a non-textual archiving (such as NSArchiver or
NSKeyedArchiver).
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
quadrium | build, mutate, evolve | images, textures, backgrounds, art
_______________________________________________
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