---
title: updateQuickLookPreviewPanel()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nstextview/updatequicklookpreviewpanel()
---

# updateQuickLookPreviewPanel()

Notifies the QuickLook panel that an update may be required.

## Declaration

```swift
func updateQuickLookPreviewPanel()
```

## Discussion

Discussion Notifies the  QLPreviewPanel class for possible status changes with the data source or controller.  Typically invoked in response to selection changes.

## See Also

### Supporting QuickLook

- [toggleQuickLookPreviewPanel(_:)](appkit/nstextview/togglequicklookpreviewpanel(_:).md)
- [quickLookPreviewableItems(inRanges:)](appkit/nstextview/quicklookpreviewableitems(inranges:).md)
