Posts from Aug 2023
Making Your App Extensible with JavaScriptCore: Annotated Presentation with Full Transcript
Last year’s presentation slides with the full talk transcript for my JavaScriptCore plugin approach.
SwiftData: Store Image Data, but Actually Outside the Database
Use the @Attribute(.externalStorage) option to save binary data with SwiftData but outside the database.
Async XCTest Assertion Helpers
The missing XCTAssert helpers that support async calls: AsyncAssertTrue(try await shouldSucceed())
Summary of how the responder chain is traversed on macOS to have events bubble up.
SwiftUI.View Is Your ViewModel
Hypothesis: You already have a View Model when you work with SwiftUI, which is the View type itself.
Decoupling SwiftUI.View Configuration from Layout and Action Handling
Decoupling introduces independence, which means the de-coupled pieces can change independently. Even in the smallest view component, this can bring tangible real-world improvements.