├── Flash Chat iOS13
├── Assets.xcassets
│ ├── Contents.json
│ ├── AppIcon.appiconset
│ │ ├── 100.png
│ │ ├── 1024.png
│ │ ├── 114.png
│ │ ├── 120.png
│ │ ├── 144.png
│ │ ├── 152.png
│ │ ├── 167.png
│ │ ├── 180.png
│ │ ├── 20.png
│ │ ├── 29.png
│ │ ├── 40.png
│ │ ├── 50.png
│ │ ├── 57.png
│ │ ├── 58.png
│ │ ├── 60.png
│ │ ├── 72.png
│ │ ├── 76.png
│ │ ├── 80.png
│ │ ├── 87.png
│ │ └── Contents.json
│ ├── MeAvatar.imageset
│ │ ├── MeAvatar.png
│ │ ├── MeAvatar@2x.png
│ │ ├── MeAvatar@3x.png
│ │ └── Contents.json
│ ├── YouAvatar.imageset
│ │ ├── YouAvatar.png
│ │ ├── YouAvatar@2x.png
│ │ ├── YouAvatar@3x.png
│ │ └── Contents.json
│ ├── textfield.imageset
│ │ ├── Group 2.png
│ │ ├── Group 2@2x.png
│ │ ├── Group 2@3x.png
│ │ └── Contents.json
│ ├── BrandBlue.colorset
│ │ └── Contents.json
│ ├── BrandPurple.colorset
│ │ └── Contents.json
│ ├── BrandLightBlue.colorset
│ │ └── Contents.json
│ └── BrandLightPurple.colorset
│ │ └── Contents.json
├── Controllers
│ ├── WelcomeViewController.swift
│ ├── LoginViewController.swift
│ ├── RegisterViewController.swift
│ └── ChatViewController.swift
├── AppDelegate.swift
├── Base.lproj
│ └── LaunchScreen.storyboard
├── Info.plist
├── SceneDelegate.swift
└── Views
│ └── Base.lproj
│ └── Main.storyboard
├── Documentation
├── AppBreweryBanner.png
└── readme-end-banner.png
├── Flash Chat iOS13.xcodeproj
├── .xcodesamplecode.plist
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
├── xcuserdata
│ └── angela.xcuserdatad
│ │ └── xcschemes
│ │ └── xcschememanagement.plist
└── project.pbxproj
└── README.md
/Flash Chat iOS13/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/Documentation/AppBreweryBanner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Documentation/AppBreweryBanner.png
--------------------------------------------------------------------------------
/Documentation/readme-end-banner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Documentation/readme-end-banner.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/100.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/1024.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/1024.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/114.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/114.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/120.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/144.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/152.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/167.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/167.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/180.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/20.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/29.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/40.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/50.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/50.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/57.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/57.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/58.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/58.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/60.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/72.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/76.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/80.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/80.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/87.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/87.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/MeAvatar.imageset/MeAvatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/MeAvatar.imageset/MeAvatar.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/YouAvatar.imageset/YouAvatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/YouAvatar.imageset/YouAvatar.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/textfield.imageset/Group 2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/textfield.imageset/Group 2.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/MeAvatar.imageset/MeAvatar@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/MeAvatar.imageset/MeAvatar@2x.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/MeAvatar.imageset/MeAvatar@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/MeAvatar.imageset/MeAvatar@3x.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/textfield.imageset/Group 2@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/textfield.imageset/Group 2@2x.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/textfield.imageset/Group 2@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/textfield.imageset/Group 2@3x.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/YouAvatar.imageset/YouAvatar@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/YouAvatar.imageset/YouAvatar@2x.png
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/YouAvatar.imageset/YouAvatar@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/appbrewery/Flash-Chat-iOS13/HEAD/Flash Chat iOS13/Assets.xcassets/YouAvatar.imageset/YouAvatar@3x.png
--------------------------------------------------------------------------------
/Flash Chat iOS13.xcodeproj/.xcodesamplecode.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Flash Chat iOS13.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Flash Chat iOS13.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/BrandBlue.colorset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | },
6 | "colors" : [
7 | {
8 | "idiom" : "universal",
9 | "color" : {
10 | "color-space" : "srgb",
11 | "components" : {
12 | "red" : "0.165",
13 | "alpha" : "1.000",
14 | "blue" : "0.996",
15 | "green" : "0.780"
16 | }
17 | }
18 | }
19 | ]
20 | }
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/BrandPurple.colorset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | },
6 | "colors" : [
7 | {
8 | "idiom" : "universal",
9 | "color" : {
10 | "color-space" : "srgb",
11 | "components" : {
12 | "red" : "0.675",
13 | "alpha" : "1.000",
14 | "blue" : "0.918",
15 | "green" : "0.435"
16 | }
17 | }
18 | }
19 | ]
20 | }
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/BrandLightBlue.colorset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | },
6 | "colors" : [
7 | {
8 | "idiom" : "universal",
9 | "color" : {
10 | "color-space" : "srgb",
11 | "components" : {
12 | "red" : "0.922",
13 | "alpha" : "1.000",
14 | "blue" : "0.996",
15 | "green" : "0.980"
16 | }
17 | }
18 | }
19 | ]
20 | }
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/BrandLightPurple.colorset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | },
6 | "colors" : [
7 | {
8 | "idiom" : "universal",
9 | "color" : {
10 | "color-space" : "srgb",
11 | "components" : {
12 | "red" : "0.980",
13 | "alpha" : "1.000",
14 | "blue" : "0.996",
15 | "green" : "0.965"
16 | }
17 | }
18 | }
19 | ]
20 | }
--------------------------------------------------------------------------------
/Flash Chat iOS13.xcodeproj/xcuserdata/angela.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | Flash Chat iOS13.xcscheme_^#shared#^_
8 |
9 | orderHint
10 | 0
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Flash Chat iOS13/Controllers/WelcomeViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // WelcomeViewController.swift
3 | // Flash Chat iOS13
4 | //
5 | // Created by Angela Yu on 21/10/2019.
6 | // Copyright © 2019 Angela Yu. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class WelcomeViewController: UIViewController {
12 |
13 | @IBOutlet weak var titleLabel: UILabel!
14 |
15 | override func viewDidLoad() {
16 | super.viewDidLoad()
17 |
18 |
19 | }
20 |
21 |
22 | }
23 |
--------------------------------------------------------------------------------
/Flash Chat iOS13/Controllers/LoginViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // LoginViewController.swift
3 | // Flash Chat iOS13
4 | //
5 | // Created by Angela Yu on 21/10/2019.
6 | // Copyright © 2019 Angela Yu. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class LoginViewController: UIViewController {
12 |
13 | @IBOutlet weak var emailTextfield: UITextField!
14 | @IBOutlet weak var passwordTextfield: UITextField!
15 |
16 |
17 | @IBAction func loginPressed(_ sender: UIButton) {
18 | }
19 |
20 | }
21 |
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/MeAvatar.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "MeAvatar.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "MeAvatar@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "MeAvatar@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/textfield.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "Group 2.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "Group 2@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "Group 2@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Flash Chat iOS13/Controllers/RegisterViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // RegisterViewController.swift
3 | // Flash Chat iOS13
4 | //
5 | // Created by Angela Yu on 21/10/2019.
6 | // Copyright © 2019 Angela Yu. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class RegisterViewController: UIViewController {
12 |
13 | @IBOutlet weak var emailTextfield: UITextField!
14 | @IBOutlet weak var passwordTextfield: UITextField!
15 |
16 | @IBAction func registerPressed(_ sender: UIButton) {
17 | }
18 |
19 | }
20 |
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/YouAvatar.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "YouAvatar.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "YouAvatar@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "YouAvatar@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
--------------------------------------------------------------------------------
/Flash Chat iOS13/Controllers/ChatViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ChatViewController.swift
3 | // Flash Chat iOS13
4 | //
5 | // Created by Angela Yu on 21/10/2019.
6 | // Copyright © 2019 Angela Yu. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class ChatViewController: UIViewController {
12 |
13 | @IBOutlet weak var tableView: UITableView!
14 | @IBOutlet weak var messageTextfield: UITextField!
15 |
16 | override func viewDidLoad() {
17 | super.viewDidLoad()
18 |
19 | }
20 |
21 | @IBAction func sendPressed(_ sender: UIButton) {
22 | }
23 |
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/Flash Chat iOS13/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // Flash Chat iOS13
4 | //
5 | // Created by Angela Yu on 21/10/2019.
6 | // Copyright © 2019 Angela Yu. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | @UIApplicationMain
12 | class AppDelegate: UIResponder, UIApplicationDelegate {
13 |
14 |
15 |
16 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
17 | // Override point for customization after application launch.
18 | return true
19 | }
20 |
21 | // MARK: UISceneSession Lifecycle
22 |
23 | func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration {
24 | // Called when a new scene session is being created.
25 | // Use this method to select a configuration to create the new scene with.
26 | return UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role)
27 | }
28 |
29 | func application(_ application: UIApplication, didDiscardSceneSessions sceneSessions: Set) {
30 | // Called when the user discards a scene session.
31 | // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
32 | // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
33 | }
34 |
35 |
36 | }
37 |
38 |
--------------------------------------------------------------------------------
/Flash Chat iOS13/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/Flash Chat iOS13/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleVersion
20 | 1
21 | LSRequiresIPhoneOS
22 |
23 | UIApplicationSceneManifest
24 |
25 | UIApplicationSupportsMultipleScenes
26 |
27 | UISceneConfigurations
28 |
29 | UIWindowSceneSessionRoleApplication
30 |
31 |
32 | UISceneConfigurationName
33 | Default Configuration
34 | UISceneDelegateClassName
35 | $(PRODUCT_MODULE_NAME).SceneDelegate
36 | UISceneStoryboardFile
37 | Main
38 |
39 |
40 |
41 |
42 | UILaunchStoryboardName
43 | LaunchScreen
44 | UIMainStoryboardFile
45 | Main
46 | UIRequiredDeviceCapabilities
47 |
48 | armv7
49 |
50 | UISupportedInterfaceOrientations
51 |
52 | UIInterfaceOrientationPortrait
53 |
54 | UISupportedInterfaceOrientations~ipad
55 |
56 | UIInterfaceOrientationPortrait
57 | UIInterfaceOrientationPortraitUpsideDown
58 | UIInterfaceOrientationLandscapeLeft
59 | UIInterfaceOrientationLandscapeRight
60 |
61 |
62 |
63 |
--------------------------------------------------------------------------------
/Flash Chat iOS13/SceneDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // SceneDelegate.swift
3 | // Flash Chat iOS13
4 | //
5 | // Created by Angela Yu on 21/10/2019.
6 | // Copyright © 2019 Angela Yu. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | class SceneDelegate: UIResponder, UIWindowSceneDelegate {
12 |
13 | var window: UIWindow?
14 |
15 |
16 | func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
17 | // Use this method to optionally configure and attach the UIWindow `window` to the provided UIWindowScene `scene`.
18 | // If using a storyboard, the `window` property will automatically be initialized and attached to the scene.
19 | // This delegate does not imply the connecting scene or session are new (see `application:configurationForConnectingSceneSession` instead).
20 | guard let _ = (scene as? UIWindowScene) else { return }
21 | }
22 |
23 | func sceneDidDisconnect(_ scene: UIScene) {
24 | // Called as the scene is being released by the system.
25 | // This occurs shortly after the scene enters the background, or when its session is discarded.
26 | // Release any resources associated with this scene that can be re-created the next time the scene connects.
27 | // The scene may re-connect later, as its session was not neccessarily discarded (see `application:didDiscardSceneSessions` instead).
28 | }
29 |
30 | func sceneDidBecomeActive(_ scene: UIScene) {
31 | // Called when the scene has moved from an inactive state to an active state.
32 | // Use this method to restart any tasks that were paused (or not yet started) when the scene was inactive.
33 | }
34 |
35 | func sceneWillResignActive(_ scene: UIScene) {
36 | // Called when the scene will move from an active state to an inactive state.
37 | // This may occur due to temporary interruptions (ex. an incoming phone call).
38 | }
39 |
40 | func sceneWillEnterForeground(_ scene: UIScene) {
41 | // Called as the scene transitions from the background to the foreground.
42 | // Use this method to undo the changes made on entering the background.
43 | }
44 |
45 | func sceneDidEnterBackground(_ scene: UIScene) {
46 | // Called as the scene transitions from the foreground to the background.
47 | // Use this method to save data, release shared resources, and store enough scene-specific state information
48 | // to restore the scene back to its current state.
49 | }
50 |
51 |
52 | }
53 |
54 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | 
2 |
3 | # Flash-Chat
4 |
5 | ## Our Goal
6 |
7 | 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.
8 |
9 | ## What you will create
10 |
11 | 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.
12 |
13 | ## What you will learn
14 |
15 | * How to integrate third party libraries in your app using Cocoapods and Swift Package Manager.
16 | * How to store data in the cloud using Firebase Firestore.
17 | * How to query and sort the Firebase database.
18 | * How to use Firebase for user authentication, registration and login.
19 | * How to work with UITableViews and how to set their data sources and delegates.
20 | * How to create custom views using .xib files to modify native design components.
21 | * How to embed View Controllers in a Navigation Controller and understand the navigation stack.
22 | * How to create a constants file and use static properties to store Strings and other constants.
23 | * Learn about Swift loops and create animations using loops.
24 | * Learn about the App Lifecycle and how to use viewWillAppear or viewWillDisappear.
25 | * How to create direct Segues for navigation.
26 |
27 |
28 | # Constants
29 | ```
30 | struct K {
31 | static let cellIdentifier = "ReusableCell"
32 | static let cellNibName = "MessageCell"
33 | static let registerSegue = "RegisterToChat"
34 | static let loginSegue = "LoginToChat"
35 |
36 | struct BrandColors {
37 | static let purple = "BrandPurple"
38 | static let lightPurple = "BrandLightPurple"
39 | static let blue = "BrandBlue"
40 | static let lighBlue = "BrandLightBlue"
41 | }
42 |
43 | struct FStore {
44 | static let collectionName = "messages"
45 | static let senderField = "sender"
46 | static let bodyField = "body"
47 | static let dateField = "date"
48 | }
49 | }
50 |
51 | ```
52 |
53 | >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/)
54 |
55 | 
56 |
--------------------------------------------------------------------------------
/Flash Chat iOS13/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "size" : "20x20",
5 | "idiom" : "iphone",
6 | "filename" : "40.png",
7 | "scale" : "2x"
8 | },
9 | {
10 | "size" : "20x20",
11 | "idiom" : "iphone",
12 | "filename" : "60.png",
13 | "scale" : "3x"
14 | },
15 | {
16 | "size" : "29x29",
17 | "idiom" : "iphone",
18 | "filename" : "29.png",
19 | "scale" : "1x"
20 | },
21 | {
22 | "size" : "29x29",
23 | "idiom" : "iphone",
24 | "filename" : "58.png",
25 | "scale" : "2x"
26 | },
27 | {
28 | "size" : "29x29",
29 | "idiom" : "iphone",
30 | "filename" : "87.png",
31 | "scale" : "3x"
32 | },
33 | {
34 | "size" : "40x40",
35 | "idiom" : "iphone",
36 | "filename" : "80.png",
37 | "scale" : "2x"
38 | },
39 | {
40 | "size" : "40x40",
41 | "idiom" : "iphone",
42 | "filename" : "120.png",
43 | "scale" : "3x"
44 | },
45 | {
46 | "size" : "57x57",
47 | "idiom" : "iphone",
48 | "filename" : "57.png",
49 | "scale" : "1x"
50 | },
51 | {
52 | "size" : "57x57",
53 | "idiom" : "iphone",
54 | "filename" : "114.png",
55 | "scale" : "2x"
56 | },
57 | {
58 | "size" : "60x60",
59 | "idiom" : "iphone",
60 | "filename" : "120.png",
61 | "scale" : "2x"
62 | },
63 | {
64 | "size" : "60x60",
65 | "idiom" : "iphone",
66 | "filename" : "180.png",
67 | "scale" : "3x"
68 | },
69 | {
70 | "size" : "20x20",
71 | "idiom" : "ipad",
72 | "filename" : "20.png",
73 | "scale" : "1x"
74 | },
75 | {
76 | "size" : "20x20",
77 | "idiom" : "ipad",
78 | "filename" : "40.png",
79 | "scale" : "2x"
80 | },
81 | {
82 | "size" : "29x29",
83 | "idiom" : "ipad",
84 | "filename" : "29.png",
85 | "scale" : "1x"
86 | },
87 | {
88 | "size" : "29x29",
89 | "idiom" : "ipad",
90 | "filename" : "58.png",
91 | "scale" : "2x"
92 | },
93 | {
94 | "size" : "40x40",
95 | "idiom" : "ipad",
96 | "filename" : "40.png",
97 | "scale" : "1x"
98 | },
99 | {
100 | "size" : "40x40",
101 | "idiom" : "ipad",
102 | "filename" : "80.png",
103 | "scale" : "2x"
104 | },
105 | {
106 | "size" : "50x50",
107 | "idiom" : "ipad",
108 | "filename" : "50.png",
109 | "scale" : "1x"
110 | },
111 | {
112 | "size" : "50x50",
113 | "idiom" : "ipad",
114 | "filename" : "100.png",
115 | "scale" : "2x"
116 | },
117 | {
118 | "size" : "72x72",
119 | "idiom" : "ipad",
120 | "filename" : "72.png",
121 | "scale" : "1x"
122 | },
123 | {
124 | "size" : "72x72",
125 | "idiom" : "ipad",
126 | "filename" : "144.png",
127 | "scale" : "2x"
128 | },
129 | {
130 | "size" : "76x76",
131 | "idiom" : "ipad",
132 | "filename" : "76.png",
133 | "scale" : "1x"
134 | },
135 | {
136 | "size" : "76x76",
137 | "idiom" : "ipad",
138 | "filename" : "152.png",
139 | "scale" : "2x"
140 | },
141 | {
142 | "size" : "83.5x83.5",
143 | "idiom" : "ipad",
144 | "filename" : "167.png",
145 | "scale" : "2x"
146 | },
147 | {
148 | "size" : "1024x1024",
149 | "idiom" : "ios-marketing",
150 | "filename" : "1024.png",
151 | "scale" : "1x"
152 | }
153 | ],
154 | "info" : {
155 | "version" : 1,
156 | "author" : "xcode"
157 | }
158 | }
--------------------------------------------------------------------------------
/Flash Chat iOS13.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 50;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 0B628177235DEE8100E35CAF /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B628176235DEE8100E35CAF /* AppDelegate.swift */; };
11 | 0B628179235DEE8100E35CAF /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B628178235DEE8100E35CAF /* SceneDelegate.swift */; };
12 | 0B62817E235DEE8100E35CAF /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0B62817C235DEE8100E35CAF /* Main.storyboard */; };
13 | 0B628180235DEE8400E35CAF /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 0B62817F235DEE8400E35CAF /* Assets.xcassets */; };
14 | 0B628183235DEE8400E35CAF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 0B628181235DEE8400E35CAF /* LaunchScreen.storyboard */; };
15 | 0B62818B235DF00000E35CAF /* WelcomeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B62818A235DF00000E35CAF /* WelcomeViewController.swift */; };
16 | 0B62818D235DF00B00E35CAF /* RegisterViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B62818C235DF00B00E35CAF /* RegisterViewController.swift */; };
17 | 0B62818F235DF01000E35CAF /* LoginViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B62818E235DF01000E35CAF /* LoginViewController.swift */; };
18 | 0B628191235DF01B00E35CAF /* ChatViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B628190235DF01B00E35CAF /* ChatViewController.swift */; };
19 | 0B62819E235F0F4D00E35CAF /* README.md in Resources */ = {isa = PBXBuildFile; fileRef = 0B62819D235F0F4D00E35CAF /* README.md */; };
20 | /* End PBXBuildFile section */
21 |
22 | /* Begin PBXFileReference section */
23 | 0B628173235DEE8100E35CAF /* Flash Chat iOS13.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Flash Chat iOS13.app"; sourceTree = BUILT_PRODUCTS_DIR; };
24 | 0B628176235DEE8100E35CAF /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
25 | 0B628178235DEE8100E35CAF /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; };
26 | 0B62817D235DEE8100E35CAF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
27 | 0B62817F235DEE8400E35CAF /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
28 | 0B628182235DEE8400E35CAF /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
29 | 0B628184235DEE8400E35CAF /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
30 | 0B62818A235DF00000E35CAF /* WelcomeViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WelcomeViewController.swift; sourceTree = ""; };
31 | 0B62818C235DF00B00E35CAF /* RegisterViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RegisterViewController.swift; sourceTree = ""; };
32 | 0B62818E235DF01000E35CAF /* LoginViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoginViewController.swift; sourceTree = ""; };
33 | 0B628190235DF01B00E35CAF /* ChatViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ChatViewController.swift; sourceTree = ""; };
34 | 0B62819D235F0F4D00E35CAF /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; };
35 | /* End PBXFileReference section */
36 |
37 | /* Begin PBXFrameworksBuildPhase section */
38 | 0B628170235DEE8100E35CAF /* Frameworks */ = {
39 | isa = PBXFrameworksBuildPhase;
40 | buildActionMask = 2147483647;
41 | files = (
42 | );
43 | runOnlyForDeploymentPostprocessing = 0;
44 | };
45 | /* End PBXFrameworksBuildPhase section */
46 |
47 | /* Begin PBXGroup section */
48 | 0B62816A235DEE8100E35CAF = {
49 | isa = PBXGroup;
50 | children = (
51 | 0B62819D235F0F4D00E35CAF /* README.md */,
52 | 0B628175235DEE8100E35CAF /* Flash Chat iOS13 */,
53 | 0B628174235DEE8100E35CAF /* Products */,
54 | );
55 | sourceTree = "";
56 | };
57 | 0B628174235DEE8100E35CAF /* Products */ = {
58 | isa = PBXGroup;
59 | children = (
60 | 0B628173235DEE8100E35CAF /* Flash Chat iOS13.app */,
61 | );
62 | name = Products;
63 | sourceTree = "";
64 | };
65 | 0B628175235DEE8100E35CAF /* Flash Chat iOS13 */ = {
66 | isa = PBXGroup;
67 | children = (
68 | 0B628176235DEE8100E35CAF /* AppDelegate.swift */,
69 | 0B628178235DEE8100E35CAF /* SceneDelegate.swift */,
70 | 0B628194235DF03A00E35CAF /* Models */,
71 | 0B628193235DF03400E35CAF /* Views */,
72 | 0B628192235DF02000E35CAF /* Controllers */,
73 | 0B62817F235DEE8400E35CAF /* Assets.xcassets */,
74 | 0B628181235DEE8400E35CAF /* LaunchScreen.storyboard */,
75 | 0B628184235DEE8400E35CAF /* Info.plist */,
76 | );
77 | path = "Flash Chat iOS13";
78 | sourceTree = "";
79 | };
80 | 0B628192235DF02000E35CAF /* Controllers */ = {
81 | isa = PBXGroup;
82 | children = (
83 | 0B62818A235DF00000E35CAF /* WelcomeViewController.swift */,
84 | 0B62818C235DF00B00E35CAF /* RegisterViewController.swift */,
85 | 0B62818E235DF01000E35CAF /* LoginViewController.swift */,
86 | 0B628190235DF01B00E35CAF /* ChatViewController.swift */,
87 | );
88 | path = Controllers;
89 | sourceTree = "";
90 | };
91 | 0B628193235DF03400E35CAF /* Views */ = {
92 | isa = PBXGroup;
93 | children = (
94 | 0B62817C235DEE8100E35CAF /* Main.storyboard */,
95 | );
96 | path = Views;
97 | sourceTree = "";
98 | };
99 | 0B628194235DF03A00E35CAF /* Models */ = {
100 | isa = PBXGroup;
101 | children = (
102 | );
103 | path = Models;
104 | sourceTree = "";
105 | };
106 | /* End PBXGroup section */
107 |
108 | /* Begin PBXNativeTarget section */
109 | 0B628172235DEE8100E35CAF /* Flash Chat iOS13 */ = {
110 | isa = PBXNativeTarget;
111 | buildConfigurationList = 0B628187235DEE8400E35CAF /* Build configuration list for PBXNativeTarget "Flash Chat iOS13" */;
112 | buildPhases = (
113 | 0B62816F235DEE8100E35CAF /* Sources */,
114 | 0B628170235DEE8100E35CAF /* Frameworks */,
115 | 0B628171235DEE8100E35CAF /* Resources */,
116 | );
117 | buildRules = (
118 | );
119 | dependencies = (
120 | );
121 | name = "Flash Chat iOS13";
122 | productName = "Flash Chat iOS13";
123 | productReference = 0B628173235DEE8100E35CAF /* Flash Chat iOS13.app */;
124 | productType = "com.apple.product-type.application";
125 | };
126 | /* End PBXNativeTarget section */
127 |
128 | /* Begin PBXProject section */
129 | 0B62816B235DEE8100E35CAF /* Project object */ = {
130 | isa = PBXProject;
131 | attributes = {
132 | LastSwiftUpdateCheck = 1110;
133 | LastUpgradeCheck = 1110;
134 | ORGANIZATIONNAME = "Angela Yu";
135 | TargetAttributes = {
136 | 0B628172235DEE8100E35CAF = {
137 | CreatedOnToolsVersion = 11.1;
138 | };
139 | };
140 | };
141 | buildConfigurationList = 0B62816E235DEE8100E35CAF /* Build configuration list for PBXProject "Flash Chat iOS13" */;
142 | compatibilityVersion = "Xcode 9.3";
143 | developmentRegion = en;
144 | hasScannedForEncodings = 0;
145 | knownRegions = (
146 | en,
147 | Base,
148 | );
149 | mainGroup = 0B62816A235DEE8100E35CAF;
150 | productRefGroup = 0B628174235DEE8100E35CAF /* Products */;
151 | projectDirPath = "";
152 | projectRoot = "";
153 | targets = (
154 | 0B628172235DEE8100E35CAF /* Flash Chat iOS13 */,
155 | );
156 | };
157 | /* End PBXProject section */
158 |
159 | /* Begin PBXResourcesBuildPhase section */
160 | 0B628171235DEE8100E35CAF /* Resources */ = {
161 | isa = PBXResourcesBuildPhase;
162 | buildActionMask = 2147483647;
163 | files = (
164 | 0B628183235DEE8400E35CAF /* LaunchScreen.storyboard in Resources */,
165 | 0B628180235DEE8400E35CAF /* Assets.xcassets in Resources */,
166 | 0B62819E235F0F4D00E35CAF /* README.md in Resources */,
167 | 0B62817E235DEE8100E35CAF /* Main.storyboard in Resources */,
168 | );
169 | runOnlyForDeploymentPostprocessing = 0;
170 | };
171 | /* End PBXResourcesBuildPhase section */
172 |
173 | /* Begin PBXSourcesBuildPhase section */
174 | 0B62816F235DEE8100E35CAF /* Sources */ = {
175 | isa = PBXSourcesBuildPhase;
176 | buildActionMask = 2147483647;
177 | files = (
178 | 0B62818B235DF00000E35CAF /* WelcomeViewController.swift in Sources */,
179 | 0B628177235DEE8100E35CAF /* AppDelegate.swift in Sources */,
180 | 0B628179235DEE8100E35CAF /* SceneDelegate.swift in Sources */,
181 | 0B62818F235DF01000E35CAF /* LoginViewController.swift in Sources */,
182 | 0B628191235DF01B00E35CAF /* ChatViewController.swift in Sources */,
183 | 0B62818D235DF00B00E35CAF /* RegisterViewController.swift in Sources */,
184 | );
185 | runOnlyForDeploymentPostprocessing = 0;
186 | };
187 | /* End PBXSourcesBuildPhase section */
188 |
189 | /* Begin PBXVariantGroup section */
190 | 0B62817C235DEE8100E35CAF /* Main.storyboard */ = {
191 | isa = PBXVariantGroup;
192 | children = (
193 | 0B62817D235DEE8100E35CAF /* Base */,
194 | );
195 | name = Main.storyboard;
196 | sourceTree = "";
197 | };
198 | 0B628181235DEE8400E35CAF /* LaunchScreen.storyboard */ = {
199 | isa = PBXVariantGroup;
200 | children = (
201 | 0B628182235DEE8400E35CAF /* Base */,
202 | );
203 | name = LaunchScreen.storyboard;
204 | sourceTree = "";
205 | };
206 | /* End PBXVariantGroup section */
207 |
208 | /* Begin XCBuildConfiguration section */
209 | 0B628185235DEE8400E35CAF /* Debug */ = {
210 | isa = XCBuildConfiguration;
211 | buildSettings = {
212 | ALWAYS_SEARCH_USER_PATHS = NO;
213 | CLANG_ANALYZER_NONNULL = YES;
214 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
215 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
216 | CLANG_CXX_LIBRARY = "libc++";
217 | CLANG_ENABLE_MODULES = YES;
218 | CLANG_ENABLE_OBJC_ARC = YES;
219 | CLANG_ENABLE_OBJC_WEAK = YES;
220 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
221 | CLANG_WARN_BOOL_CONVERSION = YES;
222 | CLANG_WARN_COMMA = YES;
223 | CLANG_WARN_CONSTANT_CONVERSION = YES;
224 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
225 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
226 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
227 | CLANG_WARN_EMPTY_BODY = YES;
228 | CLANG_WARN_ENUM_CONVERSION = YES;
229 | CLANG_WARN_INFINITE_RECURSION = YES;
230 | CLANG_WARN_INT_CONVERSION = YES;
231 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
232 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
233 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
234 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
235 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
236 | CLANG_WARN_STRICT_PROTOTYPES = YES;
237 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
238 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
239 | CLANG_WARN_UNREACHABLE_CODE = YES;
240 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
241 | COPY_PHASE_STRIP = NO;
242 | DEBUG_INFORMATION_FORMAT = dwarf;
243 | ENABLE_STRICT_OBJC_MSGSEND = YES;
244 | ENABLE_TESTABILITY = YES;
245 | GCC_C_LANGUAGE_STANDARD = gnu11;
246 | GCC_DYNAMIC_NO_PIC = NO;
247 | GCC_NO_COMMON_BLOCKS = YES;
248 | GCC_OPTIMIZATION_LEVEL = 0;
249 | GCC_PREPROCESSOR_DEFINITIONS = (
250 | "DEBUG=1",
251 | "$(inherited)",
252 | );
253 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
254 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
255 | GCC_WARN_UNDECLARED_SELECTOR = YES;
256 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
257 | GCC_WARN_UNUSED_FUNCTION = YES;
258 | GCC_WARN_UNUSED_VARIABLE = YES;
259 | IPHONEOS_DEPLOYMENT_TARGET = 13.0;
260 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
261 | MTL_FAST_MATH = YES;
262 | ONLY_ACTIVE_ARCH = YES;
263 | SDKROOT = iphoneos;
264 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
265 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
266 | };
267 | name = Debug;
268 | };
269 | 0B628186235DEE8400E35CAF /* Release */ = {
270 | isa = XCBuildConfiguration;
271 | buildSettings = {
272 | ALWAYS_SEARCH_USER_PATHS = NO;
273 | CLANG_ANALYZER_NONNULL = YES;
274 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
275 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
276 | CLANG_CXX_LIBRARY = "libc++";
277 | CLANG_ENABLE_MODULES = YES;
278 | CLANG_ENABLE_OBJC_ARC = YES;
279 | CLANG_ENABLE_OBJC_WEAK = YES;
280 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
281 | CLANG_WARN_BOOL_CONVERSION = YES;
282 | CLANG_WARN_COMMA = YES;
283 | CLANG_WARN_CONSTANT_CONVERSION = YES;
284 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
285 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
286 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
287 | CLANG_WARN_EMPTY_BODY = YES;
288 | CLANG_WARN_ENUM_CONVERSION = YES;
289 | CLANG_WARN_INFINITE_RECURSION = YES;
290 | CLANG_WARN_INT_CONVERSION = YES;
291 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
292 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
293 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
294 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
295 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
296 | CLANG_WARN_STRICT_PROTOTYPES = YES;
297 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
298 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
299 | CLANG_WARN_UNREACHABLE_CODE = YES;
300 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
301 | COPY_PHASE_STRIP = NO;
302 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
303 | ENABLE_NS_ASSERTIONS = NO;
304 | ENABLE_STRICT_OBJC_MSGSEND = YES;
305 | GCC_C_LANGUAGE_STANDARD = gnu11;
306 | GCC_NO_COMMON_BLOCKS = YES;
307 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
308 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
309 | GCC_WARN_UNDECLARED_SELECTOR = YES;
310 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
311 | GCC_WARN_UNUSED_FUNCTION = YES;
312 | GCC_WARN_UNUSED_VARIABLE = YES;
313 | IPHONEOS_DEPLOYMENT_TARGET = 13.0;
314 | MTL_ENABLE_DEBUG_INFO = NO;
315 | MTL_FAST_MATH = YES;
316 | SDKROOT = iphoneos;
317 | SWIFT_COMPILATION_MODE = wholemodule;
318 | SWIFT_OPTIMIZATION_LEVEL = "-O";
319 | VALIDATE_PRODUCT = YES;
320 | };
321 | name = Release;
322 | };
323 | 0B628188235DEE8400E35CAF /* Debug */ = {
324 | isa = XCBuildConfiguration;
325 | buildSettings = {
326 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
327 | CODE_SIGN_STYLE = Automatic;
328 | DEVELOPMENT_TEAM = 3ECFYJZ64T;
329 | INFOPLIST_FILE = "Flash Chat iOS13/Info.plist";
330 | LD_RUNPATH_SEARCH_PATHS = (
331 | "$(inherited)",
332 | "@executable_path/Frameworks",
333 | );
334 | PRODUCT_BUNDLE_IDENTIFIER = "co.appbrewery.Flash-Chat-iOS13";
335 | PRODUCT_NAME = "$(TARGET_NAME)";
336 | SWIFT_VERSION = 5.0;
337 | TARGETED_DEVICE_FAMILY = 1;
338 | };
339 | name = Debug;
340 | };
341 | 0B628189235DEE8400E35CAF /* Release */ = {
342 | isa = XCBuildConfiguration;
343 | buildSettings = {
344 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
345 | CODE_SIGN_STYLE = Automatic;
346 | DEVELOPMENT_TEAM = 3ECFYJZ64T;
347 | INFOPLIST_FILE = "Flash Chat iOS13/Info.plist";
348 | LD_RUNPATH_SEARCH_PATHS = (
349 | "$(inherited)",
350 | "@executable_path/Frameworks",
351 | );
352 | PRODUCT_BUNDLE_IDENTIFIER = "co.appbrewery.Flash-Chat-iOS13";
353 | PRODUCT_NAME = "$(TARGET_NAME)";
354 | SWIFT_VERSION = 5.0;
355 | TARGETED_DEVICE_FAMILY = 1;
356 | };
357 | name = Release;
358 | };
359 | /* End XCBuildConfiguration section */
360 |
361 | /* Begin XCConfigurationList section */
362 | 0B62816E235DEE8100E35CAF /* Build configuration list for PBXProject "Flash Chat iOS13" */ = {
363 | isa = XCConfigurationList;
364 | buildConfigurations = (
365 | 0B628185235DEE8400E35CAF /* Debug */,
366 | 0B628186235DEE8400E35CAF /* Release */,
367 | );
368 | defaultConfigurationIsVisible = 0;
369 | defaultConfigurationName = Release;
370 | };
371 | 0B628187235DEE8400E35CAF /* Build configuration list for PBXNativeTarget "Flash Chat iOS13" */ = {
372 | isa = XCConfigurationList;
373 | buildConfigurations = (
374 | 0B628188235DEE8400E35CAF /* Debug */,
375 | 0B628189235DEE8400E35CAF /* Release */,
376 | );
377 | defaultConfigurationIsVisible = 0;
378 | defaultConfigurationName = Release;
379 | };
380 | /* End XCConfigurationList section */
381 | };
382 | rootObject = 0B62816B235DEE8100E35CAF /* Project object */;
383 | }
384 |
--------------------------------------------------------------------------------
/Flash Chat iOS13/Views/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
30 |
39 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
152 |
153 |
154 |
155 |
156 |
157 |
158 |
159 |
160 |
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 |
180 |
181 |
182 |
183 |
184 |
185 |
186 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
194 |
195 |
196 |
197 |
198 |
199 |
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 |
208 |
209 |
210 |
211 |
212 |
213 |
223 |
224 |
225 |
226 |
227 |
228 |
229 |
230 |
231 |
232 |
233 |
234 |
235 |
236 |
237 |
238 |
239 |
240 |
241 |
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 |
254 |
255 |
256 |
257 |
258 |
259 |
260 |
261 |
262 |
263 |
264 |
265 |
266 |
267 |
268 |
269 |
270 |
271 |
272 |
273 |
274 |
275 |
276 |
277 |
278 |
279 |
280 |
281 |
282 |
283 |
284 |
285 |
286 |
287 |
288 |
289 |
290 |
291 |
292 |
293 |
294 |
295 |
309 |
310 |
311 |
312 |
313 |
314 |
315 |
316 |
317 |
318 |
319 |
320 |
321 |
322 |
323 |
324 |
325 |
326 |
327 |
328 |
329 |
330 |
331 |
332 |
333 |
334 |
335 |
336 |
337 |
338 |
339 |
340 |
341 |
342 |
343 |
344 |
345 |
346 |
347 |
348 |
349 |
350 |
351 |
352 |
353 |
354 |
355 |
356 |
357 |
358 |
359 |
360 |
361 |
--------------------------------------------------------------------------------