Update .spi.yml Removed platform restriction in SPI yaml
Update .spi.yml
Removed platform restriction in SPI yaml
SwiftUI wrapper of ContactsUI‘s CNContactPickerViewController. Eventually, I’ll add the rest of the framework.
SwiftUI
CNContactViewController
CNContactPicker
Documentation for SwiftUIContacts is hosted on Swift Package Index.
SwiftUIContacts
ContactPicker supports four different selection modes and the mode is decided by which init you use:
ContactPicker
init
@Binding
CNContact?
[CNContact]
CNContactProperty?
[CNContactProperty]
.sheet(isPresented: $showSheet) { ContactPicker(selection: $selectedProperty, displayedPropertyKeys: [.phoneNumbersKey] ) }
SwiftUIContacts
SwiftUI
wrapper of ContactsUI‘s CNContactPickerViewController. Eventually, I’ll add the rest of the framework.To-Do’s
CNContactViewController
‘s usage on macOS, andCNContactPicker
).Documentation
Documentation for
SwiftUIContacts
is hosted on Swift Package Index.ContactPicker
ContactPicker
supports four different selection modes and the mode is decided by whichinit
you use:@Binding
of typeCNContact?
in theinit
@Binding
of type[CNContact]
in theinit
@Binding
of typeCNContactProperty?
in theinit
@Binding
of type[CNContactProperty]
in theinit