Contents

MTKViewDelegate

Methods for responding to a MetalKit view’s drawing and resizing events.

Declaration

protocol MTKViewDelegate : NSObjectProtocol

Overview

You can set an object that implements the MTKViewDelegate protocol as a MTKView object’s delegate. Use a delegate to provide a drawing method to a MTKView object and respond to rendering events without subclassing the MTKView class.

Topics

Changing the View’s Layout

Drawing the View’s Contents

See Also

View Management