From the course: Xcode 15 Essential Training

Unlock this course with a free trial

Join today to access over 24,000 courses taught by industry experts.

The SwiftUI library

The SwiftUI library

- [Instructor] Using the Swift UI library, you can quickly add assets to your Swift UI projects. To do so, open up the Swift UI library using the plus button in the toolbar. Here, we have all kinds of things that we can modify. So all the way on the left, we have a whole bunch of different views. These are organized by controls at the top, and if you scroll down, you'll see different types of views, like layout, views, et cetera. You can also filter by typing text. So if I type button right here, I'll see all the buttons that I have available, including Sign in with Apple button. If I remove that text, I'll see a list of items I can scroll through. So I'll choose the color picker, and I'm just going to click and drag that into my app. With a live option selected here in the canvas, I can actually click on that color picker and it will pop up and I can interact with it. So that's all done directly in the canvas. I can dismiss this with the X button here as well. Another interesting…

Contents