This is a super simple FirebaseUI Chat demo. It shows:
- The ease of integrating with FirebaseUI
- Using a
UITableView
outside of aUITableViewController
- Using custom XIBs in FirebaseUI to achieve a custom look and feel
- Using a model object to get strongly typed objects from Firebase
- Using a custom
FirebaseTableViewDataSource
to add deletion - Using
FirebaseLoginViewController
to add authentication
In order to install and run:
git clone https://github.com/firebase/FirebaseUI-iOS.git
cd FirebaseUI-iOS/examples/FirebaseUIChat
pod install
open FirebaseUIChat.xcworkspace
Once you've opened the workspace, go into Supporting Files/Info.plist
and either fill in the social provider information currently commented out, or delete extra providers you're not interested in. For providers you choose to keep, enable them in your Firebase Dashboard according to the user authentication docs. In ViewController.m
make sure to only enable providers that you've configured properly.