5 ms·
Apple’s MultipeerConnectivity framework -- phones discover and talk over local wifi / bluetooth via MCSession, MCNearbyServiceAdvertiser, and MCNearbyServiceBro
by megraf 1mo ago
Apple’s MultipeerConnectivity framework -- phones discover and talk over local wifi / bluetooth via MCSession, MCNearbyServiceAdvertiser, and MCNearbyServiceBrowser in PeerSessionManager.
- gregoriol 1mo agoApple has deprecated all of that now
- megraf 1mo agoYou're right - I have to move them to Network Framework when I have time :)
- woadwarrior01 1mo agoWhen you get around to doing that, you might find the Github repo and its accompanying medium article useful. https://github.com/0Itsuki0/SwiftUI_P2PWithNetwork https://github.com/0Itsuki0/SwiftUI_P2PWithNetwork
- gregoriol 1mo agoNice! I was really missing working examples when I replaced an MPC by the lower-level Network, not an easy task, but it provides huge improvements