Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
megraf
· 3mo ago · 0 comments
Apple’s MultipeerConnectivity framework -- phones discover and talk over local wifi / bluetooth via MCSession, MCNearbyServiceAdvertiser, and MCNearbyServiceBrowser in PeerSessionManager.
Comments
[–]
gregoriol
3mo ago
Apple has deprecated all of that now
[–]
megraf
OP
3mo ago
You're right - I have to move them to Network Framework when I have time :)
[–]
woadwarrior01
3mo ago
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
[–]
gregoriol
3mo ago
Nice! 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