Login required for access
In order to watch this lesson, you'll need to login to the website.
Main Tab UI and Fetch User
Instagram Firebase
Now that we've taken care of the important aspects of persistence using Firebase Authentication, Database, and Storage, we can look at building out our main UI. To start off, we'll look at how the Instagram user interface is designed. Then we'll start the process by including our own custom UITabBarController subclass. Once we have the main UI set up, let's also fetch the user's username and display it at the top of our UINavigationBar.

Xcode 11.3+ SceneDelegate Update 4/20/2020

As most of you are probably aware by now, starting with Xcode 11.3, Single View Application projects are now created with a SceneDelegate file. This file is used to manange the scenes in your application and thus also contains the entry point of your app. Because of this change, we'll need to go about setting up our project using SceneDelegate instead of AppDelegate. More specifically, you want to leave AppDelegate alone and instead make the following changes in SceneDelegate:

class SceneDelegate: UIResponder, UIWindowSceneDelegate {    var window: UIWindow?        func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {        if let windowScene = scene as? UIWindowScene {            let window = UIWindow(windowScene: windowScene)            window.rootViewController = MainTabBarController()            self.window = window window.makeKeyAndVisible()        }    }}

Comments (47)
4 years ago
4 years ago
4 years ago
5 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
6 years ago
7 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
6 years ago
7 years ago
7 years ago
6 years ago
6 years ago
HELP & SUPPORT