• 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
NSKeyedArchiver and NSValue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSKeyedArchiver and NSValue


  • Subject: NSKeyedArchiver and NSValue
  • From: Jean Bovet <email@hidden>
  • Date: Mon, 27 Oct 2003 14:51:38 +0100

Hi,

I was surprised to see that I'm not able to archive an array containing NSValue when these NSValue are representing a NSRange structure: I get the message "[NSKeyedArchiver encodeValueOfObjCType:at:] this archiver cannot encode structs". When I encode the same array with NSArchiver, everything goes well.

Can someone confirm that NSKeyedArchived cannot encode struct ? If that correct, how can I save struct when using an NSKeyedArchiver for my other data ?

Thanks in advance.

Jean Bovet

------------------------------------------------------------------
Jean Bovet
Software Engineer
Automation, Production Engineering and Robotics Laboratory (LPR)

E-mail : email@hidden - Voice : ++41 (0)32 930 38 43

EIAJ, Le Locle Site
7, avenue de l'Httel-de-Ville, 2400 Le Locle, Switzerland
------------------------------------------------------------------
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSKeyedArchiver and NSValue
      • From: Ambroise Confetti <email@hidden>
  • Prev by Date: Re: Source-based installer
  • Next by Date: Changing color to text in a tableview
  • Previous by thread: Re: Source-based installer
  • Next by thread: Re: NSKeyedArchiver and NSValue
  • Index(es):
    • Date
    • Thread