• 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
Does encodeObject: do something funny to NSURL or long NSStrings?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Does encodeObject: do something funny to NSURL or long NSStrings?


  • Subject: Does encodeObject: do something funny to NSURL or long NSStrings?
  • From: Kurt Marek <email@hidden>
  • Date: Sun, 2 Nov 2003 20:10:21 -0800

I've been having some trouble with my data after drag and drop and I think it might have something to do with the encoding/decoding.

When I try to move an object that encodes a particular long NSString, I get the following error:

Cannot create NSData from object [contents of long string here] of class NSCFString.

I get similar messages after I pass a NSURL through the encoder/decoder. Short NSStrings seem to work fine. Do NSURls and long NSStrings get tweaked during the encoding process?

Kurt
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: single stepping exit confusion
  • Next by Date: Re: Linking to libcrypto
  • Previous by thread: Re: single stepping exit confusion
  • Next by thread: Freeform forms
  • Index(es):
    • Date
    • Thread