Back to Browse

Working with View Controllers | Swift UIKit | Xcode Tutorial

364 views
Nov 2, 2024
8:32

Welcome to UIKit! 🚀 In this video, we’ll dive into working with view controllers in UIKit, exploring how they manage each screen in an iOS app. You’ll get hands-on with the UIViewController lifecycle and build a navigation-based app using a UINavigationController to link multiple screens. Perfect for beginners getting to know UIKit’s view controller management! What You’ll Learn: Understanding the UIViewController lifecycle and when specific methods are called. How to build a simple navigation flow using UINavigationController. Connecting screens in Storyboard with segues for easy navigation. Testing and interacting with your navigation flow in the iOS simulator. By the end of this tutorial, you’ll have a solid grasp of how to use view controllers to manage screen flow and navigate between different parts of your app. 🎉 Clone or download the full demo project here: 📁 GitHub Repo: https://github.com/NDCSwift/UIKitViewControllers 🔥 Download My Project Files & More! 🔥 👉 Get the source code for this project & other Swift resources here: 🔗 https://ndcswift.github.io/Swift-Projects/ Subscribe for more bite-sized lessons and full tutorials on Swift, SwiftUI, and UIKit. Links: Xcode: https://developer.apple.com/xcode/ Swift Documentation: https://www.swift.org/documentation/ Timestamps: 0:00 Intro 0:34 ViewController Lifecycles 4:00 Embedding in Navigation 5:08 Adding a new view 6:04 Button Segue 7:25 Running the simulator 8:06 Wrap up

Download

1 formats

Video Formats

360pmp413.1 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Working with View Controllers | Swift UIKit | Xcode Tutorial | NatokHD