noteNewRecentDocument(_:)
Adds or replaces an Open Recent menu item corresponding to the document.
Declaration
func noteNewRecentDocument(_ document: NSDocument)Parameters
- document:
The document to evaluate.
Discussion
This method constructs a URL and calls noteNewRecentDocumentURL(_:). Subclasses might override this method to prevent certain documents or kinds of documents from getting into the list.