Skip to content

This project is heavily based on multipeer networking using MultipeerConnectivity, which allows users to make direct connections to those nearby to them and share pictures with.

Notifications You must be signed in to change notification settings

vishyfortheworld/PeerToPeerPicSharing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

PeerToPeerPicSharing PicPeer

This project is heavily based on multipeer networking using MultipeerConnectivity, which allows users to make direct connections to those nearby to them and share pictures with.

Again, a few lines to help the nerds;

// (serviceType: "vishy-projectcall", discoveryInfo: nil, session: mcSession) func session(_ session: MCSession, peer peerID: MCPeerID, didChange state: MCSessionState) { switch state {

    case.connected:
        print("Connected: \(peerID.displayName)")
        
    case.connecting:
        print("Connecting: \(peerID.displayName)")
        
    case.notConnected:
        print("Not Connected: \(peerID.displayName)")
        
    @unknown default:
        print("Unknown state received: \(peerID.displayName)")
        
    }
}

About

This project is heavily based on multipeer networking using MultipeerConnectivity, which allows users to make direct connections to those nearby to them and share pictures with.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages