Ok so my content view is this

```
import SwiftUI

struct ContentView: View {
    @ObservedObject private var user = User()

    var body: some View {
        VStack {
            ShowName()
            TextField("First name", text: $user.firstName)
            TextField("Last name", text: $user.lastName)
        }
    }
}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}

```

I migrated my class to swift file

```
import Foundation

class User: ObservableObject {
    @Published var firstName = "Bilbo"
    @Published var lastName = "Baggins"
}

```

Then I moved the single view into an external view file

```
import SwiftUI

struct ShowName: View {
    @ObservedObject private var user = User()

    var body: some View {
        Text("Your name is \(user.firstName) \(user.lastName)")
            .padding()
    }
}

struct ShowName_Previews: PreviewProvider {
    static var previews: some View {
        Testing()
    }
}

```

I have Observed the same class but it does not update, when the class and view were in the

Is there something I need to do special in the ShowName() view to make it observe the class, or am I missing the point entirely.

When the main view bound to the class updates the class, the ShowName view is not updated, I know this is me not understanding it but its so hard to ask Google with something like this, so please be kind, im 47 and learning a new language ;)

Sorry ive only been doing swift a few days migrating from Angular/c++/PHP