From Lisa Clascal, used until the Mac got its own development environment in MPW and Object Pascal, to Swift, Apple has changed direction every decade.
Swift
Includes HyperTalk, UserTalk, AppleScript, Prograph, shell scripts, Automator, Swift Playgrounds and Shortcuts, from 1987 to the present.
Displaying log entries using semantic colour seemed most appropriate using AttributedString, but performs very poorly. The solution is a SwiftUI List view.
Moving away from using the log command tool to obtain log extracts for browsing requires using OSLog. Its API explored and implemented in a demo app.
From running multitasking on a single CPU, MultiFinder and cooperative multitasking, massively parallel systems using Transputers, to building concurrency into the Swift language.
Swift 6 is the first major version for 5 years, and features structured concurrency that will change software for macOS over the coming years.
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.
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?
