List Categories

Hello, I'm just starting with Xcode and I was trying to learn with apples examples. I wanted to edit one off the example Apps to my liking but don't really know how to do so. In the App, the national parks are divided in three categories: Lakes, Mountains and Rivers. (see image)

As of now to see all listed parks you would go to the list icon and see a list of all the parks. (see image)

What I want to do is the following: When you click on the list Icon, you won't see all the listed parks, but a short list of the previously mentioned categories and by clicking on the list you'll see the parks in the chosen category.

This is the program I'm using.

https://developer.apple.com/tutorials/swiftui/interfacing-with-uikit

I hope somebody can help me with this project. If you got any follow-up questions please let me know.

Post not yet marked as solved Up vote post of gonzalni Down vote post of gonzalni
282 views