Thanks. This works for me too. Seems that the addAlias function docent work on a @State variable but once a save it as a new variable the function works. Not sure if this is intentional.
Topic:
Programming Languages
SubTopic:
Swift
Tags: