Of course! Even for this scenario I would recommend you to use @Environment(ViewModel.self) for flexibility and adjustment reasons (maybe another feature in a later version…). But I think you can use both without hesitation as long as it‘s working.
Okay that might be the reason so sadly that‘s not working without any payed developer account... I don’t know why but i don’t have any other idea to get the application onto your iPhone without being invalidated after a few days…
Of course! Even for this scenario I would recommend you to use @Environment(ViewModel.self) for flexibility and adjustment reasons (maybe another feature in a later version…). But I think you can use both without hesitation as long as it‘s working.
Okay that might be the reason so sadly that‘s not working without any payed developer account... I don’t know why but i don’t have any other idea to get the application onto your iPhone without being invalidated after a few days…