About UI things

Hello. Sorry if I bored with many questions, mb stupid.
How can I do things as circled on the photo as to make a choice for a user?
Then how can I connect this to the suitable swift file and then to use this in the project?

This is a UI pickerview

You can make your own and fill it with an array

To fill this with an array I need to connect it with the viewcontroller.swift, but what then do I need? I e can you tell me some suitable videos or books or materials to learn this?

Yes you’re correct, now you should look up how to use a picker view.

Here’s a video that is older, but probably is still similar