swiftui viewmodel observedobject or stateobject