Relationship Completer Broken in Snow Leopard

December 31, 2009

As some of you have noticed, Relationship Completer does not work when running under Snow Leopard.

Short explanation:
I am trying to resolve the problem — please be patient 🙂

Longer explanation:
It appears that Address Book is no longer calling the registered callbacks for handling the kABRelatedNamesProperty property. If I modify the code to handle a different property, such as kABEmailProperty, then the plugin works again. Of course completing a relationship on an email address doesn’t make sense. I have looked through Apple’s developer documentation and don’t see any changes to the API from 10.5 to 10.6 that explains what I am seeing. As I see it there are a few possible explanations:

  • A bug has been introduced in 10.6
  • The Address Book API documentation had not been updated
  • I’m just missing something

In any case, I’ve submitted a bug report to Apple and am waiting for a response. In the meantime I will continue to find a solution to the problem. If any developers out there have some insight for me – please leave a comment below.