Article Preview
Buy Now
COLUMN
First Contact
Adding New Contact into Apple Contacts
Issue: 23.1 (January/February 2025)
Author: Stefanie Juchmes-Simonis
Author Bio: Stefanie studied computer science at the university in Bonn. She came in touch with Xojo due to the work of her brother-in-law and got a junior developer position in early 2019 at Monkeybread Software.
Article Description: No description available.
Article Length (in bytes): 10,167
Starting Page Number: 64
Article Number: 23108
Resource File(s):
project 23108.zip Updated: 2025-01-09 23:32:13
Related Web Link(s):
http://www.apple.com/DTDs/PropertyList-1.0.dtd
Excerpt of article text...
Did you know that you can work with Apple Contacts in Xojo using the MBS Xojo plugins? In this article, I would like to show you how to create a contact from Xojo in the Apple phone book.
In Figure 1, we have a window that provides the data for our contact.
We would now like to use this data in our code. To do this, we first create a new instance of the
CNContactStoreMBSclass. This instance allows us to work with the contacts and execute fetch and save requests.Next, we create a new contact as an instance of the
CNMutableContactMBSclass. We can now set our data on this object. For example, we set the first name of the person usinggivenName.
Dim ContactStore As New CNContactStoreMBS
...End of Excerpt. Please purchase the magazine to read the full article.








