
Know the Swift language, SwiftUI, and UIKit to learn how to integrate UIKit with SwiftUI applications using the latest Xcode.
Each lecture includes its own set of exercise files; click the resource to download the zip file associated with that lecture.
Learn to load a SwiftUI view into a UIKit application using a UIHostingController, set up navigation, and push a stock list screen from a UIKit view controller.
Embed a SwiftUI rating view into a UIKit view using a hosting controller, then add it as a child and center it with constraints.
Pass values from a SwiftUI rating view to a UIKit view by wrapping it in a hosting container and using an observable rating object with Combine to update a label.
Learn how to load a UIKit view, specifically a UI activity indicator, into a SwiftUI app using UIViewRepresentable, with makeUIView, updateUIView, and state-driven toggling.
Learn to integrate UIKit controls in a SwiftUI app by implementing MapKit map view delegates with UIViewRepresentable, creating a map view coordinator, and registering custom annotation views.
Load a SwiftUI view as a cell in a UIKit table view using UIHostingConfiguration and cell content configuration to render a donut cell with name and picture.
Learn how to preview a view controller in Xcode using the UI view controller representable protocol, implementing make UI view controller and using a preview provider for live updates.
Welcome to "UIKit and SwiftUI Integration Essentials", the 1-hour course that will teach you how to seamlessly integrate UIKit and SwiftUI in your iOS apps.
In this course, you'll learn how to leverage the power of both UIKit and SwiftUI to create dynamic and responsive user interfaces. You'll begin by learning the basics of UIKit and SwiftUI, including how to create simple user interfaces using these frameworks.
Next, you'll dive deeper into the integration of these two frameworks, learning how to use the best of both worlds to create custom, dynamic user interfaces that take advantage of the unique features of both UIKit and SwiftUI.
By the end of this course, you'll have a solid understanding of how to integrate these two powerful frameworks to create seamless, intuitive user interfaces that your users will love.
Whether you're a seasoned iOS developer or just starting out, this course will give you the essential knowledge and skills you need to build amazing apps with UIKit and SwiftUI. So, what are you waiting for? Let's get started!
Who is this course for:
This course is perfect for iOS app developers who are looking to enhance their skills by learning how to integrate both UIKit and SwiftUI into their projects. It is also suitable for anyone who is interested in iOS app development and has some basic knowledge of Swift and Xcode. Whether you are a beginner or an experienced developer, this course will provide you with valuable insights and techniques to create dynamic and responsive user interfaces using UIKit and SwiftUI.
What will students learn in this course:
The basics of UIKit and SwiftUI frameworks
How to create simple user interfaces using both frameworks
Techniques to integrate UIKit and SwiftUI frameworks for seamless user interface design
How to create custom and dynamic user interfaces using both frameworks
Best practices for combining UIKit and SwiftUI in iOS app development
Tips and tricks for optimizing user experience using UIKit and SwiftUI frameworks