-
Notifications
You must be signed in to change notification settings - Fork 65
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
[Feature Request] Embedding stack inside a custom view? #22
Comments
Thanks for raising this issue @josephktcheung. I really wish macOS would support In the meantime, would Mac Catalyst allow you to build your macOS app in the way you want? Or might it work to use sheet presentation for the macOS app instead? Not great solutions I'm afraid but fingers crossed macOS gets a bit more SwiftUI love soon! |
Hi @johnpatrickmorgan, thanks for replying. We tried Mac Catalyst first but hit various limitations such that we are exploring to build a native MacOS app using SwiftUI e.g. TextKit 2 fully supported in MacOS but UITextView with TextKit 2 is not available in iOS 15., menu bar support etc (https://www.highcaffeinecontent.com/blog/20220216-Where-Mac-Catalyst-Falls-Short) I haven't tested Stinsen thoroughly, perhaps I'll make a demo project and see how to create a custom navigation flow using it. At least from its documentation it says we can create our own Coordinatables / Coordinators:
|
Hi,
We tried using TCACoordinators in our iOS and macOS app. Since macOS doesn't support
StackNavigationViewStyle
, I wonder if the library can be extensible so that it can wrap aNode
inside a custom view that can provide alternative navigation in macOS.I looked into some other SwiftUI navigation libraries and here's one that also uses coordinator pattern that allows user to define a custom coordinator https://github.com/rundfunk47/stinsen#defining-the-coordinator
Perhaps we can do something similar in this library as well?
Best,
Joseph
The text was updated successfully, but these errors were encountered: