Need help with Layer-Parse-iOS-Swift-Example?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

kwkhaw
118 Stars 26 Forks Apache License 2.0 47 Commits 3 Opened issues

Description

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

Services available

!
?

Need anything else?

Contributors list

# 458,405
Objecti...
Swift
29 commits
# 78,957
Objecti...
Node.js
framewo...
ilp
3 commits
# 96,464
Shell
Objecti...
iOS
uifont
1 commit
# 60,346
React
React N...
fish-sh...
golang
1 commit

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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.