Giter Club home page Giter Club logo

quick-start-ios's Introduction

Layer Quick Start for iOS

Example code for integrating LayerKit.

Quick Start is a sample application highlighting how to integrate LayerKit, the iOS SDK for the Layer communications platform. It presents a very simple example of a chat app using Layer.

Requirements

The Quick Start application requires Xcode and the iOS SDK v8.0. Dependencies are managed via CocoaPods to simplify installation.

Usage

  1. Clone the project from Github: $ git clone https://github.com/layerhq/quick-start-ios.git
  2. Install the dependencies via CocoaPods: $ pod install
  3. Open QuickStart.xcworkspace in Xcode.
  4. Replace LAYER_APP_ID in LQSAppDelegate.m (line 16) with your App ID from http://developer.layer.com. If you skip this step you will get an error on app launch.
  5. Build and run the Quick Start application on a Simulator and a physical Device to start a 1:1 conversation between them.

NOTE: If you shake the Device the navbar color will change on both the Simulator and Device.

Highlights

  • Demonstrates how to implement authentication, query controller, typing indicators and metadata
  • Provides a reference implementation for driving Message UI's via an LYRQueryController

Configuration

In order to populate the sample app with content, you must configure the following variable inside Constants.h:

  • LAYER_APP_ID: The Layer application identifier for you application.

The authentication process requires that you provide a sandbox app identifier that has been configured to use the Layer Identity Provider.

Credits

QuickStart was lovingly crafted in San Francisco by Abir Majumdar during his work on Layer. At Layer, we are building the Communications Layer for the Internet. We value, support, and create works of Open Source engineering excellence.

Abir Majumdar

License

QuickStart is available under the Apache 2 License. See the LICENSE file for more info.

quick-start-ios's People

Watchers

Jawwad Ahmad avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.