[Pyobjc-dev] Address Book ABMultiValueCoreDataWrapper
Brought to you by:
ronaldoussoren
From: Markos K. <mk...@gm...> - 2014-08-28 04:28:35
|
I’m trying to figure out how to modify address book entries, specifically phone numbers…. I’ve got the ABMultiValueCoreDataWrapper for phone numbers, but try as I might, I seem to come up with errors in using replaceValueAtIndex_inPropertyWithKey_withValue_(), specifically about the key…. I’ve tried getting the property at said index, and then re-entering it, since I’m modifying the value, not the key, but that’s not working, as I get NSUnknownKeyException. I’ve also tried using ABMultiValueReplaceValue, but I get a different problem for the key error, that is, that, despite the fact that I use ABMultiValueCopyIdentifierAtIndex, I still get an key error for the identifier. What’s the right way to modify address book data? Thanks, —Markos |