• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
vCard -> loss of Identity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

vCard -> loss of Identity


  • Subject: vCard -> loss of Identity
  • From: Steve Cronin <email@hidden>
  • Date: Tue, 28 Feb 2006 07:08:28 -0600

Folks;

I've implemented an AddressBook ABPeoplePicker and that works fine.
I've also registered for drags from vCards and that is working fine.
From the user's point of view this is good: dragNdrop or a UI widget, whatever you're in the mood for....


But here's the rub: I need to be able to tell that a given record is the same as another.

In the ABPerson there is a property: kABUIDProperty

When I use [[ABPicker selectedRecords] objectAtIndex:i] to read data I get consistent values for this property for a given record in AddressBook. (I assume that this does not do a 'vCardRepresentation'!)

However when I read the kABUIDProperty value from the VERY SAME record dropped as a vCard -> no joy (different values).

With a bit of fiddling I've managed to convince myself that any wrapping in a vCard implies that you can never know that a given vCard IS in fact the identical record as some other vCard.

I simply cannot be the first person to be bloodied by this. Is there any collective wisdom or am I doomed to writing some
home-grown ABRecord coalescer?


As always THANK-YOU!
Steve

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: vCard -> loss of Identity
      • From: Philip Dow <email@hidden>
  • Prev by Date: Re: Programmatically setting action of a button
  • Next by Date: NSDocument not receiving notifications from NSTextField
  • Previous by thread: Re: Programmatically setting action of a button
  • Next by thread: Re: vCard -> loss of Identity
  • Index(es):
    • Date
    • Thread