Address Book ABMultiValueCoreDataWrapper
Markos Kapes <[email protected]> Thu, 28 Aug 2014 00:28:26 -0400
| Newsgroups | gmane.comp.python.pyobjc.devel |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Pyobjc-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyobjc-dev