The iOS client for
Clone or download
akramhussein Merge pull request #18 from satishbabariya/patch-1
Pod installation instructions updated.
Latest commit 5e5e7c1 Oct 16, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example Remove sleep Mar 20, 2017
TestApp feat: update TestApp to v2.2.0 Jul 31, 2017
assets Updated README - copying Swift extensions image and related text (#11) Jul 31, 2017
.gitignore Initial commit Sep 29, 2016
.swift-version Swift version Dec 20, 2016
.travis.yml Initial commit Sep 29, 2016
DeepstreamIO.h Added header file symlink Oct 14, 2016
DeepstreamIO.podspec Upgrading starscream Nov 28, 2017
LICENSE Initial commit Sep 29, 2016 README Updated Mar 12, 2018
_Pods.xcodeproj Initial commit Sep 29, 2016


[![CI Status]( Hussein/DeepstreamIO.svg?style=flat)]( Hussein/DeepstreamIO) Version License Platform


To run the example project, clone the repo, and run pod install from the Example directory first.



DeepstreamIO is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'DeepstreamIO'

Building with Swift

Be sure to add a Bridging Header that references #import <DeepstreamIO/DeepstreamIO.h> see example

For example, in your project:

  1. Select File > New > New File...

  2. Select Header File

  3. Give it a name e.g. Your-Project-Bridging-Header.h

  4. From the Project Navigator, select your project (blue icon)

  5. Navigate to Build Settings

  6. Search for bridging header

  7. Add an entry like such, replacing the folder name and your file name ${PROJECT_DIR}/Project-Name/You-Project-Bridging-Header.h e.g. ${PROJECT_DIR}/DeepstreamIO/Deepstream-Bridging-Header.h

An example of this is in the Example project in the repository.

Deepstream Extensions

To help bridge between the Java transpiled Objective-C, a Swift extension file has been provided in the Pod that can be used to simplify usage of the DeepstreamIO pod.

To add this:

  1. In the newly created .xcworkspace in your directory, expand the Pods > Pods > DeepstreamIO tree.

  2. Select the resources folder and drag it to your project.

  1. When presented with a dialogue, make sure Copy items if needed is NOT ticked and click Finish.

  1. You will now have access to the Swift extensions.

An example of this is in the Example project in the repository.


Akram Hussein,


DeepstreamIO is available under the Apache 2.0 license. See the LICENSE file for more info.