Skip to content
This repository was archived by the owner on Oct 25, 2026. It is now read-only.

About

(iOS Template) A Swift iOS chat app with Firebase Realtime Database messaging, QR code friend adding, and one-tap dark mode

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

Last updated: 2026-10-26

Note

This README was generated by SKILL, get the ZH version from here.


REAL-TIME CHAT ON IOS, BUILT WITH PURE CODE AND FIREBASE!

Version License


A Swift iOS chat app with Firebase Realtime Database messaging, QR code friend adding, and one-tap dark mode

Table of Contents

Features

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.

Architecture

Full Architecture

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)]
Loading

License

This project is licensed under the GPL-3.0 LICENSE.

Author

Just open an issue to share an idea.

demo-swift-firebase-messaging contributors

©️ 2023 邱敬幃 Pardn Chiu

About

(iOS Template) A Swift iOS chat app with Firebase Realtime Database messaging, QR code friend adding, and one-tap dark mode

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Used by

Contributors

Languages