iOS real-time group chat using Realtime Messaging and Swift
Swift Ruby
Latest commit c44d9d3 Aug 30, 2016 @realtime-framework committed on GitHub Merge pull request #4 from JoaoCaixinha/master
OnException sanity check correction

README.md

The Realtime Framework Pub/Sub messaging system

Part of the The Realtime® Framework, Realtime Cloud Messaging (aka ORTC) is a secure, fast and highly scalable cloud-hosted Pub/Sub real-time message broker for web and mobile apps.

If your website or mobile app has data that needs to be updated in the user’s interface as it changes (e.g. real-time stock quotes or ever changing social news feed) Realtime Cloud Messaging is the reliable, easy, unbelievably fast, “works everywhere” solution.

The Swift group chat example

This sample app built using the Swift language uses the Realtime® Framework Messaging service to send and receive chat messages organized into groups.

ScreenShot

This app is compatible with the Android and iOS (Objective-C) sample. See https://github.com/realtime-framework/Messaging/tree/master/Android%20with%20Push%20Notifications

 

Setup project

  • Install cocoapods and run command pod install on the podfile directory.

NOTE: For simplicity these samples assume you're using a Realtime® Framework developers' application key with the authentication service disabled (every connection will have permission to publish and subscribe to any channel). For security guidelines please refer to the Security Guide.

Don't forget to replace YOUR_APPLICATION_KEY and YOUR_APPLICATION_PRIVATE_KEY with your own application key. If you don't already own a free Realtime® Framework application key, get one now.

 

You are ready to go...

Documentation

The complete Realtime® Cloud Messaging reference documentation is available here