---
title: NSViewType
framework: swiftui
role: symbol
role_heading: Associated Type
path: swiftui/nsviewrepresentable/nsviewtype
---

# NSViewType

The type of view to present.

## Declaration

```swift
associatedtype NSViewType : NSView
```

## See Also

### Creating and updating the view

- [makeNSView(context:)](swiftui/nsviewrepresentable/makensview(context:).md)
- [updateNSView(_:context:)](swiftui/nsviewrepresentable/updatensview(_:context:).md)
- [NSViewRepresentable.Context](swiftui/nsviewrepresentable/context.md)
