Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

FirebaseUI Demo in Objective-C

This is a simple FirebaseUI demo in Objective-C showcasing Database and Storage features. It demonstrates:

  1. The ease of integrating with FirebaseUI
  2. Using a UITableView outside of a UITableViewController
  3. Using custom XIBs in FirebaseUI to achieve a custom look and feel
  4. Using a model object to get strongly typed objects from Firebase
  5. Using a custom FUITableViewDataSource to add deletion

Installation

git clone https://github.com/firebase/FirebaseUI-iOS.git
cd FirebaseUI-iOS/samples/objc
pod install
open FirebaseUI-demo-objc.xcworkspace

Project Configuration

  1. Download GoogleService-Info.plist from Firebase Console
  2. Copy it to samples/objc/ directory
  3. Configure your Firebase Database and Storage in the Firebase Console

Samples

Chat Sample

This sample demonstrates real-time database functionality using FUITableViewDataSource to bind a Firebase query to a UITableView. The chat messages are stored in the Firebase Realtime Database and updated in real-time.

Note: This sample uses anonymous authentication, so make sure anonymous auth is enabled in Firebase Console.

Storage Sample

This sample demonstrates Firebase Storage integration, showing how to upload and display images stored in Firebase Storage.

Note: Make sure to set up the Storage Security Rules for your bucket.