Contents

WebDocumentView

This protocol is adopted by the document view of a WebFrameView. You can extend WebKit to support additional MIME types by implementing your own document view and document representation classes to render data for specific MIME types. You register those classes using the WebFrame Registerclass(_:representationclass:formimetype:) method. Classes that adopt this protocol are expected to be subclasses of NSView.

Declaration

protocol WebDocumentView : NSObjectProtocol

Topics

Setting the data source

Controlling the layout

Attaching to a window

See Also

Working With Document Web Views (Legacy)