---
title: dealloc
framework: coretext
role: symbol
role_heading: Instance Property
path: coretext/ctrundelegatecallbacks/dealloc
---

# dealloc

The callback invoked when the retain count of a CTRunDelegate reaches 0 and the CTRunDelegate is deallocated. This callback may be NULL.

## Declaration

```swift
var dealloc: CTRunDelegateDeallocateCallback
```

## See Also

### Instance Properties

- [getAscent](coretext/ctrundelegatecallbacks/getascent.md)
- [getDescent](coretext/ctrundelegatecallbacks/getdescent.md)
- [getWidth](coretext/ctrundelegatecallbacks/getwidth.md)
- [version](coretext/ctrundelegatecallbacks/version.md)
