Giter VIP home page Giter VIP logo

ios-swift-chat-example's Introduction

Swift Chat Example

Chat implemented in Swift! Now works in Xcode 6.0.1.

animated screenshot of this app in use

What's here

  • You can log in with Twitter.
  • You can post / receive messages
  • Powered by Firebase

If you have issues with XCTest, check out this issue.

Setup

This example still has some rough edges around authentication. Push through them, though. It's worth the effort.'

Configure Firebase

  1. Go to your Firebase Dashboard and create a new Firebase app.
  2. Clone this repo.
  3. Open FireChat-Swift.xcodeproj in Xcode.
  4. Edit MessagesViewController.swift and change swift-chat.firebaseio.com to point to your Firebase.

Configure Login

  1. Create a new Twitter app to use for login.
  2. Go to your Firebase Dashboard and navigate to your Firebase app.
  3. Click 'Login & Auth' in the left side menu. Select 'Twitter' and check the box to 'Enable Twitter Login'
  4. Paste your Twitter API Key and API Secret into the form.
  5. Edit LoginViewController.swift and change swift-chat.firebaseio.com to point to your Firebase. Update twitterAppId on the next line to match your Twitter API Key.
  6. Run the app on a device or simulator
  7. On your iOS device or simulator, go to Settings, scroll down to the accounts section (which contains Twitter, Facebook, Flickr and Vimeo), select Twitter -> Add Account.

no, that's not my password, but if you can figure out what I typed, tweet at me, and I'll send you Firebase swag

License

MIT

ios-swift-chat-example's People

Contributors

katfang avatar davideast avatar mimming avatar datomnurdin avatar mcuadros avatar startupandrew avatar

Watchers

Prithvi Dhelia 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.