contacts-framework
Installation
SKILL.md
Contacts & ContactsUI (iOS)
Read, write, and pick the user's contacts. Contacts is the data layer
(CNContactStore, CNContact); ContactsUI is the system UI
(CNContactPickerViewController, CNContactViewController, ContactAccessButton).
- KMP boundary: contacts are iOS-only Apple API. Expose a
commonMaininterface ContactsGatewayand bind aCNContactStore-backedactualiniosMain— never let shared code depend onCN*types. Seeexpect-actual/android-skills:kmp-boundaries. - Wrapping UIKit controllers in SwiftUI:
UIViewControllerRepresentable+ aCoordinatordelegate — seeswiftui-uikit-interop. Full wrappers inreferences/contactsui.md. - Privacy: requires
NSContactsUsageDescriptionin Info.plist (app crashes on request without it). Reconcile the privacy manifest withapp-store-review.