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

NSArray to string and back problems


  • Subject: NSArray to string and back problems
  • From: Colin Cornaby <email@hidden>
  • Date: Wed, 23 Nov 2005 22:03:16 -0800

I'm trying to convert an NSArray to a string and read it back at a later point. I call [myMutableArray description], store it away, and then later try to recreate the array using [arrayString propertyList].

However, upon trying to return an NSArray from the string I get:

2005-11-23 21:37:08.801 Catalyst[17518] XML parser error:
	Unexpected character ( at line 1
Old-style plist parser error:
	Expected terminating ')' for array at line 5

Here is the description string:

2005-11-23 21:38:37.992 Catalyst[17542] (
    {
        CIFilterName = CIHueAdjust;
        inputAngle = 1.475182809936707;
        inputImage = {CIImage [0 0 22 26]};
    }
)

Is this a bug? I searched CocoaBuilder and found a message detailing the exact same problem in 2001, but no one ever replied to it.

-Colin
_______________________________________________
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: Shawn Erickson <email@hidden>
  • Prev by Date: Re: NSFileManager -componentsToDisplayForPath:path
  • Next by Date: Re: NSArray to string and back problems
  • Previous by thread: Re: Optimizing NSView's drawRect
  • Next by thread: Re: NSArray to string and back problems
  • Index(es):
    • Date
    • Thread