PeerKit 4.0.0

PeerKit 4.0.0

LangLanguage SwiftSwift
License MIT
ReleasedLast Release Oct 2017
SwiftSwift Version 4.0
SPMSupports SPM

Maintained by JP Simard.

PeerKit 4.0.0

An open-source Swift framework for building event-driven, zero-config Multipeer Connectivity apps


// Automatically detect and attach to other peers with this service type

enum Event: String {
    case StartGame, EndGame

// Send a StartGame event with attached data to all peers
PeerKit.sendEvent(Event.StartGame.rawValue, object: ["myInfo": "hello!"])

See the CardsAgainst app for example usage. Specifically the ConnectionManager class.


This project is under the MIT license.