How does SwiftUI hides private protocol requirements of SwiftUI.View protocol

Looks like its the later. I was able to implement these requirements manually:

struct ContentView: View {
    static func _makeView(view: SwiftUI._GraphValue<Self>, inputs: SwiftUI._ViewInputs) -> SwiftUI._ViewOutputs {
        fatalError("Boom!")
    }

    static func _makeViewList(view: SwiftUI._GraphValue<Self>, inputs: SwiftUI._ViewListInputs) -> SwiftUI._ViewListOutputs {
        fatalError("Boom!")
    }

    static func _viewListCount(inputs: SwiftUI._ViewListCountInputs) -> Int? {
        fatalError("Boom!")
    }
    ...
}
4 Likes