Replies: 12 comments 5 replies
-
@rajdeep I'm willing to work on this, let me know if this is within the scope of the project or not. |
Beta Was this translation helpful? Give feedback.
-
that'd be great @vmanot. I have not been able to manage any time lately. While I do hope to be able to spend more time in near future, I don't think I will be able to get to this any time soon. You may look into this and we can have a discussion once you have an idea on how you plan to approach this. |
Beta Was this translation helpful? Give feedback.
-
@rajdeep I understand - I think I'll develop it as a separate package then (I don't want to diverge too far from |
Beta Was this translation helpful? Give feedback.
-
sounds like a plan! thanks again! |
Beta Was this translation helpful? Give feedback.
-
I have been working on a basic swiftui Rich Text Editor. I am lacking lists. I might be able to help. I am interested at least incorporating what you have into my app. |
Beta Was this translation helpful? Give feedback.
-
that's cool, @papajyp. Please feel free to share any ideas, suggestions or code that you think would help get SwiftUI support. |
Beta Was this translation helpful? Give feedback.
-
A good starting point for Proton would be a SwiftUI version of EditorView. At the moment I am hosting EditorView in UIViewRepresentable, which works, but is messy and precludes giving EditorView more SwiftUI features. |
Beta Was this translation helpful? Give feedback.
-
I have already embedded Proton in a SwiftUI app that I’m developing and it works OK on IOS and MacOS. All I did was use UIViewRepresentable to create the EditorView and let the Coordinator class act as EditorViewDelegate. In all it is 170 lines of code. I have no doubt that Proton can be fully SwiftUIified, and I look forward to what Vatsal does with it.
… On 6 Jan 2021, at 22:02, santi-g-s ***@***.***> wrote:
That would be great. Would this make proton compatible with native macOS apps?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#83 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AGAIGCY4HQFJOUM46FZSIYLSYTMYFANCNFSM4VSX2O4Q>.
|
Beta Was this translation helpful? Give feedback.
-
I just have a single app targeted to run on iphone, ipad and mac (via catalyst). I haven't tried a non catalyst mac os app. I doubt if it would compile. It only needs uiviewrepresentable if using SwiftUI
Best
Keith
Sent from my iPhone
… On 7 Jan 2021, at 22:53, santi-g-s ***@***.***> wrote:
Does this support non-catalyst macOS apps? Wouldn't it have to be through NSViewRepresentable?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
Hi @vmanot! Any update on how this is going? |
Beta Was this translation helpful? Give feedback.
-
Hi @vmanot any news about proton and swiftui? |
Beta Was this translation helpful? Give feedback.
-
@rajdeep I recommend as a first step we work on a simple example that wraps EditorView in a UIViewRepresentable. I think showing how to do that in the Read me would go along way towards helping people get started. Here's a sample of mine:
|
Beta Was this translation helpful? Give feedback.
-
Proton currently doesn't offer any SwiftUI ready APIs.
Beta Was this translation helpful? Give feedback.
All reactions