Bringing Polymorphism to Codable
A clean way to add polymorphic Codable support to Swift, avoiding the typical repeated custom decode/encode logic that slows us all down.
Read more→A clean way to add polymorphic Codable support to Swift, avoiding the typical repeated custom decode/encode logic that slows us all down.
Read more→We sometimes need to add a little bit of custom encoding logic. Property Wrappers enables this while still maintaining the very helpful automatic conformance to Codable provided by the Swift compiler.
Read more→Drag based list re-ordering in SwiftUI on macOS adds a delay to all click operations such as focusing on a text field. In this post I describe how to add drag handles that allows us to avoid this focus delay and still use the simple SwiftUI .onMove method.
Read more→A new way of passing values to the commands section of a SwiftUI app even when the user is not focused on a text field.
Read more→Exploring how to access the hosting UIWindow & NSWindow in SwiftUI exposing its attributes and methods to your app.
Read more→How to access and modify the current document from menu items in SwiftUI.
Read more→How to add custom information and copyright to your app's About window on macOS Big Sur when using the SwiftUI app lifecycle.
Read more→Integrate with UndoManager in SwiftUI by building a reusable UndoProvider view that can be used with any Binding.
Read more→