-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rewrite TestApp using SwiftUI #60
Comments
No more updates for swiftui? |
New screens are built using SwiftUI (e.g. the pending Settings API PR), but converting existing screens is not high priority so progress is going slow. @gatamar and @stevenzeck have been contributing great PRs for this but I currently have my plate quite full and didn't have time to follow-up on this yet. |
Hey there just a heads up I'm going to try to take a stab at integrating the latest changes from main and will also try to get @gatamar's PR over the line. Just FYI in case anyone is also working on this branch ATM. |
Sorry guys, I'm unavailable as of now.
Will be happy if my branch is useful in any way.
As far as I remember there were 2 main challenges: SwiftUI navigation and
rewriting some (Promise based?) code to async await. Regarding the first
challenge, I'm still not sure if SwiftUI is mature enough to easily do what
we wanted to achieve.
Regarding the second challenge, sorry for the unfinished code - I know how
to do it now, but have no time :)
…On Mon, 22 May 2023 at 21:49, Jordan ***@***.***> wrote:
Hey there just a heads up I'm going to try to take a stab at integrating
the latest changes from main and will also try to get @gatamar
<https://github.com/gatamar>'s PR over the line. Just FYI in case anyone
is also working on this branch ATM.
—
Reply to this email directly, view it on GitHub
<#60 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOSN2O3LM4GCTXZF5RTQSDXHO7LHANCNFSM5YBIHSCQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@gatamar Thanks for summarizing the issues and taking a stab at it in the first place! @jpollard-cs Sure, that would be welcome. But since it's complicated to get a full SwiftUI rewrite done in one go, I'm thinking we should change the strategy and do more incremental changes based on and synchronized with
What do you think? |
I talked with @stevenzeck, here are some additional comments:
My main concern is that keeping a |
Apologies if this is the wrong place to ask, but is it possible to convert TestApp to async await with the current |
You might be able to pass it around with an struct PublicationWrapper: @unchecked Sendable {
let publication: Publication
} Be careful as |
Thanks. My question was unclear. I was referring to your comment on May 23 where you noted the goal to "Migrate existing Test App Promise/completion-block based APIs to async/await." I'm not trying to share |
It should work if you use the technique I described in the previous comment, as long as you don't use any API on |
I created a PR as a soft restart of this effort: #460. It does not incorporate anything from #240, but that PR would be a great place to continue moving forward.
|
This is a long-term issue. We will continually to make incremental changes to
develop
/main
. No changes should be made that break UIKit functionality. It is ok to create additional functions that do the same thing as an existing one. For example, adding an async/await based function for SwiftUI in addition to the existing promise/completion based one that is used by UIKit.General
Reader
Bookshelf
OPDS feeds
OPDS Feed Detail
Publication Detail
About
The text was updated successfully, but these errors were encountered: