MTKViewDelegate
Methods for responding to a MetalKit view’s drawing and resizing events.
Declaration
protocol MTKViewDelegate : NSObjectProtocolOverview
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.