Skip to content
JavaScript Objective-C Swift Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
C3Lib/cct.framework Updated file sharing Oct 25, 2017
Example Updated file sharing Oct 25, 2017
.gitignore Updated C3Lib Mar 8, 2017
LICENSE README: clarify the scope of the license Jul 6, 2017

Ericsson Contextual Communication Cloud iOS SDK

Version License Platform Downloads Apps

If you have questions about Ericsson Contextual Communication Cloud, feel free to reach out at


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


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

pod "C3Lib"                                                                                                                                                      


In order to be able to use the C3Lib framework, you will need to have access to the following prerequisites:

  • Xcode >= 8 (you can check which version you have by launching Xcode and selecting About Xcode from the Xcode menu)
  • CocoaPods >= 1.0.0 (you can check which version you have by launching the Terminal app and typing pod --version in the terminal window
  • iOS >= 8


C3Lib framework comes with an introductory document which guides you through the basic use cases. You will find it here.

The Client is the starting point for every application, and manages state and connection to a server.

let client = Client()

A client is authenticated using a AuthInfo object, which can be acquired in different ways. The Auth class contains some static methods with common authentication methods. Let's start by logging on to a user that was previously registered using Auth.register().

Auth.login(as: "foo",
             password:  "password123",
             serverUrl: "",
             success: { authInfo in
    client.auth(authInfo, success: { client in
        print("Authenticated with user id: \(client.user!.id)")
    }, failure: { error in
        print("Failed to authenticate user: \(error.localizedDescription)")
}, failure: { error in
    print("Failed to authenticate user: \(error.localizedDescription)")

Once authenticated, we can change our display name and status.

client.setName("Test User", success: { client in
    client.setStatus("Ready to roll", ...)

Check out the full documentation here.


Ericsson AB


The C3Lib example is available under the BSD-2 license. See the LICENSE file for more info.

You can’t perform that action at this time.