Popularity
6.5
Stable
Activity
0.0
Stable
802
25
73

Code Quality Rank: L5
Monthly Downloads: 0
Programming language: Swift
License: MIT License
Tags: Network    
Latest version: v4.0.0

PeerKit alternatives and similar libraries

Based on the "Network" category

Do you think we are missing an alternative of PeerKit or a related project?

Add another 'Network' Library

README

PeerKit

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

Usage

// Automatically detect and attach to other peers with this service type
PeerKit.transceive("com-jpsim-myApp")

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.

License

This project is under the MIT license.


*Note that all licence references and agreements mentioned in the PeerKit README section above are relevant to that project's source code only.