Replies: 1 comment
-
I'm assuming in the repository this refers to Sparkle's standard user interface ( I think Swift's There isn't too much documentation on implementing alternative user interfaces besides the API documentation for SPUUserDriver and other than looking for how the main repository does it in a few places. I suppose that could be improved. Most people still stick to the standard UI so it may be an "advanced" use case. |
Beta Was this translation helpful? Give feedback.
-
The existing examples in Sparkle's codebase are old. It would be great to have modern ones written in Swift that show the flow through
SPUUserDriver
--specifically theasync
variations of those protocol methods.Working with the reply-block versions of those APIs is fairly straightforward, but it's less clear how to use the
async
versions, where we need to display a UI and await the user clicking a button to respond. The most common case, at least for the next decade, is an AppKit-based app that wraps a SwiftUI view inNSHostingView
orNSHostingViewController
to present that UI and it's not very obvious how to fit async/await into that flow.Is there already an open issue for that enhancement?
Beta Was this translation helpful? Give feedback.
All reactions