delegate
The view’s delegate.
Declaration
@IBOutlet unowned(unsafe) var delegate: (any GLKViewDelegate)? { get set }Discussion
A delegate is optional. If a delegate is provided, it is called instead of calling a draw(_:) method whenever the view’s contents need to be drawn. You should either subclass the view to override the draw method, or provide a delegate, but not both.