A high-level abstraction built on top of the MultipeerConnectivity framework, which allows iOS, macOS and tvOS devices to exchange data between them over Wi-Fi networks, peer-to-peer Wi-Fi, and Bluetooth. In order for MultipeerKit to work when running on iOS 14, you will have to include two keys in your app's Info.plist file. For the privacy key, include a human-readable description of what benefit the user gets by allowing your app to access devices on the local network. The Bonjour services key is an array of service types that your app will browse for. For MultipeerKit, the entry should be in the format _servicename._tcp, where servicename is the serviceType you've set in your MultipeerConfiguration. If you're using the default configuration, the value of this key should be _MKSVC._tcp.
Features
- In order for MultipeerKit to work when running on iOS 14, you will have to include two keys in your app's Info.plist file
- MultipeerKit is a Swift package
- The main class in this library is MultipeerTransceiver
- MultipeerKit can transmit and receive anything that conforms to the Codable protocol
- For the privacy key, include a human-readable description of what benefit the user gets by allowing your app to access devices on the local network
- The Bonjour services key is an array of service types that your app will browse for