Skip to content

jyzhe/ios-swift-chat-example

 
 

Repository files navigation

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. They'll be fixed soon, so in the mean time follow these steps to run this example. Sorry for the mess!

  1. Create a new Firebase.
  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.
  5. Edit LoginViewController.swift and change swift-chat.firebaseio.com to point to your Firebase.
  6. On your emulator or iOS device, go to Settings, scroll down to the accounts section (which contains Twitter, Facebook, Flickr and Vimeo), select Twitter -> Add Account. Register one account.
  7. If the previous step didn't work, install the Twitter app and sign in to at least one account.

License

MIT

About

FireChat implemented in Swift!

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 95.2%
  • Swift 3.8%
  • Other 1.0%