• 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: NSArray to string and back problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSArray to string and back problems
      • From: Uli Kusterer <email@hidden>
References: 
 >NSArray to string and back problems (From: Colin Cornaby <email@hidden>)
 >Re: NSArray to string and back problems (From: Shawn Erickson <email@hidden>)
 >Re: NSArray to string and back problems (From: Colin Cornaby <email@hidden>)

  • Prev by Date: Re: Problems getting a m4a file to loop using NSMovieView
  • Next by Date: Re: Custom NSView (or NSWindow) in IB palette
  • Previous by thread: Re: NSArray to string and back problems
  • Next by thread: Re: NSArray to string and back problems
  • Index(es):
    • Date
    • Thread