SkillAgentSearch skills...

PeerKit

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

Install / Use

/learn @jpsim/PeerKit
About this skill

Quality Score

0/100

Supported Platforms

Universal

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.

Related Skills

View on GitHub
GitHub Stars868
CategoryDevelopment
Updated7d ago
Forks73

Languages

Swift

Security Score

95/100

Audited on Mar 23, 2026

No findings