Proyectos
Ver en GitHub
jpsim/PeerKit
Acerca de
Un framework de Swift de código abierto para crear aplicaciones de Multipeer Connectivity basadas en eventos y sin configuración.
Otros proyectosCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalPeerKit
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.
Explorar proyectos relacionados
Cargando…