Easily use UIKit views in your SwiftUI applications. Create Xcode Previews for UIView elements
In this Xcode tutorial, you'll get familiar with the development environment where you’ll build apps in. I’ll show you where to get Xcode and how to start a new App project. Then we’ll walk through the major areas of Xcode. I’ll explain to you what each of the files in your new project is for and we’ll end the lesson with some tips on navigating around in Xcode.
This week, I want to talk about one of the most powerful Xcode features, SwiftUI previews. SwiftUI previews allow you to look at your SwiftUI views inside Xcode without running the app in the simulator. You can also preview UIKit views and controllers by wrapping them in SwiftUI. Today we will learn about all the powerful features of previews in Xcode.
Xcode comes with a bunch of tools you need to build, debug and release your apps. One of these tools is the Instruments app. The Instruments app is a great tool for profiling your iOS apps. It provides many profiling templates for debugging Core Data, catching memory leaks, disk read/writes, and much more. This week we will learn how to profile SwiftUI apps using the SwiftUI template.
Learn how previews work, how to optimize the structure of your SwiftUI app for previews, and how to add preview support to your existing views and view controllers.
...how to install Catalina in parallel to your current (f.e. Mojave) macOS version.