Skip to content

simple flash chat using fireBase in the backend and practicing on tableView Using.

Notifications You must be signed in to change notification settings

zreaqqasem/Flach-Chat

Repository files navigation

Flash-Chat

My Goal

One of the most fundamental component of modern iOS apps is the Table View. Table Views are used everywhere from the Mail app to the Messages app. It’s a crucial part of every iOS developer’s tool belt. In this App i'll be getting to grips with Table Views, creating custom cells, and making our own cloud-based backend database.

What i learned and worked with ?

How to integrate third party libraries in your app using Cocoapods and Swift Package Manager. How to store data in the cloud using Firebase Firestore. How to query and sort the Firebase database. How to use Firebase for user authentication, registration and login. How to work with UITableViews and how to set their data sources and delegates. How to create custom views using .xib files to modify native design components. How to embed View Controllers in a Navigation Controller and understand the navigation stack. How to create a constants file and use static properties to store Strings and other constants. Learn about Swift loops and create animations using loops. Learn about the App Lifecycle and how to use viewWillAppear or viewWillDisappear. How to create direct Segues for navigation.

Constants

struct K { static let cellIdentifier = "ReusableCell" static let cellNibName = "MessageCell" static let registerSegue = "RegisterToChat" static let loginSegue = "LoginToChat"

struct BrandColors {
    static let purple = "BrandPurple"
    static let lightPurple = "BrandLightPurple"
    static let blue = "BrandBlue"
    static let lighBlue = "BrandLightBlue"
}

struct FStore {
    static let collectionName = "messages"
    static let senderField = "sender"
    static let bodyField = "body"
    static let dateField = "date"
}

}

About

simple flash chat using fireBase in the backend and practicing on tableView Using.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published