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] ) }
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
SwiftUIContacts
SwiftUIwrapper 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
SwiftUIContactsis hosted on Swift Package Index.ContactPicker
ContactPickersupports four different selection modes and the mode is decided by whichinityou use:@Bindingof typeCNContact?in theinit@Bindingof type[CNContact]in theinit@Bindingof typeCNContactProperty?in theinit@Bindingof type[CNContactProperty]in theinit