Re: Pasteboard and property lists
Re: Pasteboard and property lists
- Subject: Re: Pasteboard and property lists
- From: Jim Correia <email@hidden>
- Date: Sun, 6 Jan 2002 14:37:14 -0500
On Sunday, January 6, 2002, at 02:31 PM, 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.
Yes - CFPropertyList.h.
/*
Type to mean any instance of a property list type;
currently, CFString, CFData, CFNumber, CFBoolean, CFDate,
CFArray, and CFDictionary.
*/
typedef CFTypeRef CFPropertyListRef;
And their bridged NS* counterparts.
Jim