From the course: Building Your First iOS 17 App

Unlock this course with a free trial

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

Modifying SwiftUI objects

Modifying SwiftUI objects

- [Instructor] We'll now continue developing our user interface by customizing the top H stack, which contains the dollar sign icon of our application and the title of our app, which is Tip Calculator. We already talked about modifying UI attributes in brief in a previous movie. Remember, we talked about how you could select a Swift UI view object, like this image here, and then, head over to the attributes inspector. Remember, you can open the inspector by hovering over the right edge of the screen or by clicking the button in the toolbar, and then, you can get to the attributes inspector by clicking the rightmost button in the inspector bar. So, in here, we have a list of attributes that we can modify that are connected to an image. We can modify them here or directly in the code. For now, let's modify them directly in the code. I'm going to click at the end of foreground style. I'm going to make this icon a little bit bigger.…

Contents