# `GSGlyph.lastOperation`

*Instance Property*

The date of the most recent operation used to invalidate glyph-dependent caches.

## Declaration

```swift
var lastOperation: Date? { get set }
```

```objc
@property (nonatomic, strong) NSDate * lastOperation;
```

```python
lastOperation() -> NSDate
setLastOperation_(lastOperation: NSDate)
```

## Discussion

This value may be `nil` before an operation has been recorded.

## See Also

### Change Tracking

- [`GSGlyph.changeCount`](/Core/GlyphsCore/GSGlyph/changeCount) — The pending glyph edit count used for glyph-specific autosaving and change indicators.
- [`GSGlyph outlineHasChanges`](/Core/GlyphsCore/GSGlyph/outlineHasChanges) — Invalidates shape-derived caches for every stored layer.

