Geting EnvironmentObject into a class not in the hierarchy

前端 未结 0 1917
暗喜
暗喜 2020-12-31 23:33

I have a class that is used to get json data from a URL. I want to be able to change the path of the URL based on a property stored in an EnvironmentObject injected into the

相关标签:
回答
  • 消灭零回复
提交回复
热议问题