Re: VCARD NSPasteboard type
Re: VCARD NSPasteboard type
- Subject: Re: VCARD NSPasteboard type
- From: email@hidden
- Date: Mon, 28 Jan 2002 21:43:02 -0800
On Monday, January 28, 2002, at 09:00 PM, Vince DeMarco wrote:
>
Regular the names are regular, This drag type isn't a public drag type
>
though. Can you please file a bug saying that there should be s
>
standard vcard drag type in the system.
>
>
and yes AB stands for Address Book.
>
>
vince
By regular, i mean "In conformity with a fixed procedure, principle, or
discipline." (The American Heritage. Dictionary of the English
Language, Fourth Edition)
In the case of a VCard from Address Book, we get this list of types:
NSFilenamesPboardType,
ABVCardStringPBoardType,
MVAddressListPasteboardType,
ABAddressCardPBoardType,
"NeXT filename pasteboard type",
"CorePasteboardFlavorType 0x6675726C",
"CorePasteboardFlavorType 0x68667320",
"Apple URL pasteboard type"
If this were "regular", there would be a fixed procedure for naming
pasteboard types.
Not counting the magic Core 'furl' and 'hfs ' types, there are 4 ways to
spell the common suffix.
"PboardType", "PBoardType", "PasteboardType", and "pasteboard type".
There is no indication of which types are public vs. private. (like a
leading underscore?)
There's no regularity in the prefixes either. Address Book uses AB in
front of what should ostensibly be the public type for vcards, and
MVAddressList in front of its private internal drop type.
Some of the types seem like they are attempting to not contain spaces,
as if they are like class names or identifiers, others do not.
In any event, I'm sure I'm just being pedantic about these
irregularities. It's just something that occurred to me as I was
writing DropZone. I'll leave it to Simson to file the bug asking for
NSVCardPboardType.
-tw