Last updated: 2026-10-26
REAL-TIME CHAT ON IOS, BUILT WITH PURE CODE AND FIREBASE!
A Swift iOS chat app with Firebase Realtime Database messaging, QR code friend adding, and one-tap dark mode
git clone https://github.com/pardnio/demo-swift-firebase-messaging.git· Documentation
- Firebase Realtime Chat — Each message is written to both participants' Realtime Database nodes and streamed back through listeners, so every open conversation stays current.
- QR Code Friend Adding — Core Image renders your UID as a QR code, and the camera scanner opens the matching profile for one-tap friending.
- Chat List with Archive — Every conversation tracks its last message, update time, and read state, and archived chats return to the list when a new message arrives.
- Pure-Code UIKit — The bundled PDExtension chainable Auto Layout and component extensions build every screen without storyboards.
- One-Tap Dark Mode — The bottom menu toggles between light and dark appearance, backed by color assets defined for both palettes.
graph TB
App[AppDelegate / SceneDelegate] --> Login[Login / Signup]
Login --> Home[Home Tabs]
Home --> Chat[Chat Room]
Home --> QR[QR Code / Scanner]
Home --> Account[Account / Avatar]
Login & Home & Chat & QR & Account --> PDX[PDExtension UI DSL]
Login --> Auth[(Firebase Auth)]
Home & Chat & QR & Account --> RTDB[(Firebase Realtime Database)]
This project is licensed under the GPL-3.0 LICENSE.
Just open an issue to share an idea.
©️ 2023 邱敬幃 Pardn Chiu