• 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: NSPropertyListSerialization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPropertyListSerialization


  • Subject: Re: NSPropertyListSerialization
  • From: Robert Martin <email@hidden>
  • Date: Fri, 15 Oct 2004 06:10:58 -0400

It looks like you're meant to be passing a pointer to an NSString, but you are passing a pointer to nothing. Have you tried something like: NSString *error = [NSString string]; ?

Rob


On Oct 14, 2004, at 9:36 PM, email@hidden wrote:

Message: 3
Date: Thu, 14 Oct 2004 12:09:19 -0700
From: Eric Ocean <email@hidden>
Subject: bug in NSPropertyListSerialization
+dataFromPropertyList:format:errorDescription:


<snip>
NSString *error;
<snip>
NSData *data = [NSPropertyListSerialization dataFromPropertyList:plist
format:NSPropertyListXMLFormat_v1_0
errorDescription:&error];
<snip>

_______________________________________________
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
  • Prev by Date: Re: NSTableView
  • Next by Date: Re: bug in NSPropertyListSerialization +dataFromPropertyList:format:errorDescription:
  • Previous by thread: Re: Binding : NSTableView -> NSControllerArray -> NSUserDefaultController
  • Next by thread: [NEWBIE]: Scrolling windows
  • Index(es):
    • Date
    • Thread