Thank you for the tutorial. I wonder whether the Contacts framework can be used for the following case: a project management app that has a staff database. Can it be used for that?
If you’re wanting to import contacts into your application’s own database, yes. If you’re trying to use it solely to back your database, that’s probably not a good idea.
You can simply add CNContactBirthdayKey to the array of keys passed to unifiedContacts(matching:keysToFetch:). The fetched CNContact will have an optional birthday property (as DateComponents)