프로젝트
GitHub에서 보기
jpsim/PeerKit
소개
이벤트 기반의 무설정 Multipeer Connectivity 앱을 개발하기 위한 오픈 소스 Swift 프레임워크입니다.
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
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.
관련 프로젝트 살펴보기
불러오는 중…