Instance Property

maximumRecentDocumentCount

The maximum number of items that may be presented in the standard Open Recent menu.

Declaration

@property(readonly) NSUInteger maximumRecentDocumentCount;

Discussion

A value of 0 indicates that NSDocumentController will not attempt to add an Open Recent menu to your application's File menu, although NSDocumentController will not attempt to remove any preexisting Open Recent menu item. The default implementation returns a value that is subject to change and may or may not be derived from a setting made by the user in System Preferences.

See Also

Managing the Open Recent Menu

- clearRecentDocuments:

Empties the recent documents list for the application.

- noteNewRecentDocumentURL:

Adds or replaces an Open Recent menu item corresponding to the data located by the URL.

- noteNewRecentDocument:

Adds or replaces an Open Recent menu item corresponding to the document.

recentDocumentURLs

The list of recent-document URLs.