# DouglasHeriot/canCloseDocumentWithDelegate

> Shows how to implement the NSDocument method  -canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo: using Swift. Must use Objective-C to perform an NSInvocation.

- **Canonical URL**: https://githubrepo.cloud/repo/DouglasHeriot/canCloseDocumentWithDelegate
- **GitHub Repository**: https://github.com/DouglasHeriot/canCloseDocumentWithDelegate
- **Maintainer / Creator**: https://github.com/DouglasHeriot
- **Discovered On**: Nov 1, 2026

---
*Indexed by GitHubRepo (https://githubrepo.cloud). Real-time open-source discovery & telemetry.*
