Why is SwiftUI so important that the Swift language was changed to make it more feasible to implement? Is it just for ease of multi-platform support? Or is it just greener grass?
SwiftUI
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.
Swift source code to accompany the matching article on SwiftUI on macOS: Settings, defaults and About.
How to add a tabbed Settings window with different controls, for settings saved by UserDefaults, and extend the app’s About window.
Swift/SwiftUI source code to accompany article on adding a PDF Help file to a SwiftUI app for macOS.
An explanation of how to implement the Help command, and how to use that to display a PDF document in a SwiftUI View.
Source code for the main article about SwiftUI on macOS, to be read alongside that article.
Apple advises that SwiftUI apps for macOS avoid using AppDelegate. How can you substitute initial app setup, and cleaning up before an app quits using just SwiftUI?
SwiftUI is almost five years old. Following experience porting an AppKit app for macOS to SwiftUI, it still has a long way to go. Here’s the current state of play.
