This is a sample project of a chat application with Ruby on Rails 5 Action Cable and its Swift 3 client app.
The Rails part is based on the code below.
The Swift client app uses Swift-ActionCableClient
.
Install Swift-ActionCableClient
via CocoaPods.
$ cd iOS/ActionCableSample
$ pod install
Start rails server.
$ cd ../../Rails/action-cable-sample
$ rails server
Then, open ActionCableSample.xcworkspace
and run the app on iOS simulator.
MIT License.