Coder Social home page Coder Social logo

jasmo2 / layer-parse-ios-swift-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kwkhaw/layer-parse-ios-swift-example

0.0 2.0 0.0 1.13 MB

This is a Swift sample app that integrates Layer and Atlas with Parse.

License: Apache License 2.0

Swift 98.88% Objective-C 0.65% Ruby 0.47%

layer-parse-ios-swift-example's Introduction

Build Status Atlas+Parse Header

Note: I no longer actively working on this project. If you encounter any problem, please open an issue and hopefully the community will help out. If you are interested to maintain this project, kindly contact me. :-)

Layer + Parse iOS Example (Swift)

This repository contains an example project that demonstrates how to implement an iOS chat application in Swift with messaging services provided by Layer, user interface components from Atlas and a user backend provided by Parse.

Here is the original project in Objective-C from Layer: Layer-Parse-iOS-Example

Atlas+Parse Image

Requirements

This application requires Xcode 7 and the iOS SDK v9.0. Dependencies are managed via CocoaPods to simplify installation.

Please use the Cocoapods version 0.39 or above.

Setup

  1. Clone the project from Github: $ git clone https://github.com/kwkhaw/Layer-Parse-iOS-Swift-Example.git
  2. Install the dependencies in the root directory via CocoaPods: $ pod install
  3. Open Layer-Parse-iOS-Swift-Example.xcworkspace in Xcode.
  4. Replace LayerAppIDString , ParseAppIDString , and ParseClientKeyString in AppDelegate.swift with your Layer and Parse credentials.
  5. Add the Layer Parse Module to your Parse Cloud Code to serve as an authentication manager.
  6. (Recommended) If you want test users, import the Resources/Users.json file into your User class on Parse.
  7. Build and run the application on your Simulator to create a new user and begin messaging!
  8. Please follow this guide to configure the push notification on iOS Dev Center.

For more in-depth documentation about this project, check our guide.

Atlas+Parse Gif

Highlights

  • Uses ParseUI to authenticate and create new users.
  • Demonstrates how to get identity tokens from Parse Cloud Code using the Layer Parse Cloud Module
  • Uses Atlas, Layer's UI components

Configuration

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

  • LayerAppIDString: The Layer application identifier for your application.
  • ParseAppIDString: Your Parse App ID.
  • ParseClientKeyString: Your Parse Client Key.

Credits (original project Layer-Parse-iOS-Example)

This project was lovingly crafted in San Francisco. At Layer, we are building the full-stack building block for communications. We value, support, and create works of Open Source engineering excellence.

License

Layer-Parse-iOS-Swift-Example is available under the Apache 2 License. See the LICENSE file for more info.

layer-parse-ios-swift-example's People

Contributors

kwkhaw avatar intelliot avatar isacikgoz avatar jessearmand avatar

Watchers

James Cloos avatar Jaime Molina 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.