lkakhits.blogg.se

Xcode for mac 10.12.6
Xcode for mac 10.12.6









xcode for mac 10.12.6

I like the “may or may not”, that’s just so specific. 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. You can programmatically inspect the maximum item count, in the variable maximumRecentDocumentCount, an Int, for which Apple helpfully explains: In apps, the Open Recent menu command is handled by NSDocumentController, which has a suite of five items for its management, including the variable recentDocumentURLs, which contains a list of recent document URLs.

xcode for mac 10.12.6

It was time to take to the developer documentation, to see if Apple describes how the Recent Items feature works. It then occurred to me that I could search for the setting using the command defaults, with Neither property list contains any key vaguely resembling a control over the number of recent items. The suspects were and, so I made copies and looked through them in BBEdit. I presumed that this would be stored in or similar, so watched which of the files changed when I altered that setting in the General pane. So it was a preferences problem after all. I set it back to 10, closed System Preferences, and checked again.

xcode for mac 10.12.6

When I opened that pane, it certainly had, as it was set to None. The solution was obvious: in the General pane in System Preferences, the Recent items setting had gone wonky. Here the problem was the exact opposite: apps and documents were listed multiple times, apparently for every occasion that I had opened them over the last week or so. I then looked in the other place that offers Recent Items: that command in the Apple menu. BBEdit was different, though, as it maintains its own custom Recent Items scheme, which was unaffected. GraphicConverter 10, for example, which I use daily to prepare images for this blog, swore blind that I had never opened an image with it before. All of a sudden, Xcode told me that no projects had been opened recently, both on that splash screen and in its empty Open Recent… item. When launched, it has a splash screen on which it lists those projects which have been opened recently – the same as are listed in the Open Recent… command in its File menu. I’m wondering whether this is a bug new to 10.12.6, or maybe I have just been unlucky. A couple of times just recently, I think since the Sierra 10.12.6 update, the system service which supplies Recent Items has played up.











Xcode for mac 10.12.6