Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/syedfaiqueali/flash-chat
https://github.com/syedfaiqueali/flash-chat
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/syedfaiqueali/flash-chat
- Owner: syedfaiqueali
- Created: 2021-03-24T14:50:13.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-05-15T16:52:07.000Z (over 2 years ago)
- Last Synced: 2024-10-08T19:42:35.642Z (30 days ago)
- Language: Swift
- Size: 22.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![App Brewery Banner](Documentation/AppBreweryBanner.png)
# Flash-Chat
## Our 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 tutorial we’ll be getting to grips with Table Views, creating custom cells, and making our own cloud-based backend database. It’s going to be epic, so buckle up.
## What you will create
Flash Chat is an internet based messaging app similar to WhatsApp, the popular messaging app that was bought by Facebook for $22 billion. We will be using a service called Firebase Firestore as a backend database to store and retrieve our messages from the cloud.
## What you will learn
* 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"
}
}```
>This is a companion project to The App Brewery's Complete App Developement Bootcamp, check out the full course at [www.appbrewery.co](https://www.appbrewery.co/)
![End Banner](Documentation/readme-end-banner.png)