Re: Pasteboard and property lists
Re: Pasteboard and property lists
- Subject: Re: Pasteboard and property lists
- From: "Clark S. Cox III" <email@hidden>
- Date: Sun, 6 Jan 2002 14:44:52 -0500
On Sunday, January 6, 2002, at 02:31 , Enigmarelle Development wrote:
On Sunday, January 6, 2002, at 02:21 PM, Chris Kane wrote:
A property list is more than simply an array or dictionary or string or
.... For an array to be a property list, it can only, recursively,
contain other property lists, for example. Perhaps whatever the items
array contains, representing file references, is not a property list
type.
NSURLs, for example, are not property list objects.
Is there a list somewhere of acceptable property list objects? I've run
into this a couple times and it's hard to figure out what's going on
unless you know what to look for.
AFAIK:
NSDictionary
NSArray
NSString
NSData
NSDate
NSNumber
If you want to store something else, you can always archive it to an
NSData, and store that (I use this to store NSColors among other things).
--
Clark S. Cox, III
email@hidden
http://www.whereismyhead.com/clark/