Chat implemented in Swift! Now works in Xcode 6.0.1.
- You can log in with Twitter.
- You can post / receive messages
- Powered by Firebase
If you have issues with XCTest, check out this issue.
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!
- Create a new Firebase.
- Clone this repo.
- Open
FireChat-Swift.xcodeproj
in Xcode. - Edit
MessagesViewController.swift
and changeswift-chat.firebaseio.com
to point to your Firebase. - Edit
LoginViewController.swift
and changeswift-chat.firebaseio.com
to point to your Firebase. - 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.
- If the previous step didn't work, install the Twitter app and sign in to at least one account.