In AppKit, the "Open Recent" menu has a lot of useful functionality, like the ability to display relevant folders for context, but only when needed.
Is there a way to get access to this functionality myself? I want to display a list of folders in a window, and I'd like to include paths for identically named folders, using the same algorithm as Apple.
Is there any way to do that, without implementing it myself from scratch?
See
- [NSDocumentController recentDocumentURLs]
https://developer.apple.com/reference/appkit/nsdocumentcontroller/1514976-recentdocumenturls