Re: Pasteboard and property lists
Re: Pasteboard and property lists
- Subject: Re: Pasteboard and property lists
- From: Thomas Lachand-Robert <email@hidden>
- Date: Sun, 6 Jan 2002 21:31:31 +0100
Le dimanche 6 janvier 2002, ` 08:21 , Chris Kane a icrit :
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.
Ahhh ok. Doing a search I finally found a definition of "property list"
(five people here gave some different ones):
"(In Cocoa, property lists are defined to be-and to contain-objects of
these classes: NSDictionary, NSArray, NSString, NSData.)"
Guess where it is (*)?
Anyway it should be indicated and properly linked to in the documentation
of NSPasteboard and other classes using them. There is a "Property list"
section in "Cocoa documentation > data management", but it still contain
the familiar "decription forthcoming".
Thanks for the answer anyway. I will stick with my "convertToData"
addition to NSArray, then.
Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet ` la chose. >> Molihre, Tartuffe.
(*) In NSSerializer description. Also in scriptability topic...