---
title: GLKViewDelegate
framework: glkit
role: symbol
role_heading: Protocol
path: glkit/glkviewdelegate
---

# GLKViewDelegate

Drawing callback methods for use with a GLKView object.

## Declaration

```swift
protocol GLKViewDelegate : NSObjectProtocol
```

## Overview

Overview An object that implements the GLKViewDelegate protocol can be set as a GLKView object’s delegate. A delegate allows your application to provide a drawing method to a GLKView object without subclassing the GLKView class.

## Topics

### Drawing the View’s Contents

- [glkView(_:drawIn:)](glkit/glkviewdelegate/glkview(_:drawin:).md)

## Relationships

### Inherits From

- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

### Conforming Types

- [GLKViewController](glkit/glkviewcontroller.md)

## See Also

### OpenGL ES View Rendering

- [GLKView](glkit/glkview.md)
- [GLKViewController](glkit/glkviewcontroller.md)
- [GLKViewControllerDelegate](glkit/glkviewcontrollerdelegate.md)
