Thanks BabyJ for the info! I managed to make it work using the code sample you provided. Now I am going to dissect it to I know how each part works and how they work together to solve the task I was trying to solve. Much appreciated!
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: