upvote
Apple’s MultipeerConnectivity framework -- phones discover and talk over local wifi / bluetooth via MCSession, MCNearbyServiceAdvertiser, and MCNearbyServiceBrowser in PeerSessionManager.
reply
Apple has deprecated all of that now
reply
You're right - I have to move them to Network Framework when I have time :)
reply
When you get around to doing that, you might find the Github repo and its accompanying medium article useful.

https://github.com/0Itsuki0/SwiftUI_P2PWithNetwork

reply