How to get objects to not be encoded with NSArchiver
How to get objects to not be encoded with NSArchiver
- Subject: How to get objects to not be encoded with NSArchiver
- From: Rosyna <email@hidden>
- Date: Tue, 2 Apr 2002 01:36:23 -0700
I have a menu I'm archiving to a data stream with NSArchiver. Some of
the menu items have a representedObject if an NSDictionary, this
NSDictionary contains some important information as well as a not so
important class named "HostObject" (subclass of NSObject). When the
menu is archived, it adds the HostObject instances to the archive. I
do not want this as an application that is reading the archived
object does not understand HostObject or how it works, and therefore
cannot be unarchived.
Is there anyway to prevent HostObject from being archived or unarchived?
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
---
Please include any previous correspondence in replies, it helps me
remember what we were talking about. Thanks.
_______________________________________________
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.
References: | |
| >HI !!! (From: Alessandro Cottarelli <email@hidden>) |