https://github.com/mitolog/siosocket-swift
A swift version of SIOSocket just for my training of JavascriptCore with swift
https://github.com/mitolog/siosocket-swift
Last synced: 3 months ago
JSON representation
A swift version of SIOSocket just for my training of JavascriptCore with swift
- Host: GitHub
- URL: https://github.com/mitolog/siosocket-swift
- Owner: mitolog
- License: mit
- Created: 2015-11-29T09:51:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-14T07:56:55.000Z (over 9 years ago)
- Last Synced: 2025-01-13T19:16:08.431Z (4 months ago)
- Language: Swift
- Size: 73.2 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SIOSocket-swift
A swift version of SIOSocket just for my training of JavascriptCore with swift.The sample is minimal chat app where UI is really pity.
## How to use
### nodejs
1. go to nodeapp directory
2. type `npm install socket.io` on terminal
3. type `node app` on terminal### ios
1. Preapare 2 ios devices.
2. Set userName and hostUrl at ViewController.swift.
3. Build and install app to each devices where each app has different userName to distinguish each other.*) A part of hostUrl is local IP of http server where socket.io app.js running.
## Todo
- Write test (check if all argument has passed when emitting)
- Use JSExport hopefully...
-## License
MIT