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.
AppKit
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.
Swift source code to accompany article about implementing a document-based app in SwiftUI for macOS.
Implementing a document-based app in SwiftUI for macOS. Fun and games with menus, and what are the differences between FileDocument and ReferenceFileDocument protocols?
Swift source code to accompany the article on SwiftUI on macOS: text, rich text, markdown, html and PDF views.
Trying to display formatted text in plain text, markdown, rich text, HTML, and PDF using SwiftUI and in AppKit/WebKit views within SwiftUI.
