When does PKGCore have nothing to do with packages, and when did it first appear? How does it work with AppKit and other parts of macOS to select an item in the Finder?
AppKit
When Disk Utility wrote encryption passwords to the log in plain text, where a StarCraft battlecruiser was made operational, 3 huzzahs for a single click, and more vagaries of ten years of the Unified log.
Compare log entries when clicking on an item in the Finder, once when it’s selected but not brought into focus, and again when it’s correctly brought into focus. This points to a cause as shown here,
AppKit originated in NeXTSTEP and its menus, windows and views are usually built in its graphical editor. SwiftUI was introduced in 2019 and is built using code structures, but supports less than AppKit. Neither is without its problems.
Two of the Mac’s defining features, how they differ, the roles of source and receiver apps, how they work, how transferable types can limit them, and their future in macOS.
To avoid your app’s icon going into the sin bin, replace it with one generated by Icon Composer. But that in turn requires overhauling some windows, and there’s a catch in NSLog waiting to get you.
Rumours are that macOS 16 will bring interface changes to increase consistency across platforms. What does this mean in terms of macOS API support and what we’ll see in the betas?
How does SwiftUI let the user enter dates and times in its Date Picker? The answer is without seconds, which are only allowed in watchOS. And it gets worse.
Swift source code implementing drag and drop and more, to accompany the main article.
Implementing a basic drag-and-drop app for macOS using SwiftUI: the DropDelegate protocol, and working with NSItemProvider. With full source and notarized example.
