-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
ANyView? #30
Comments
Hey @kylebrowning, I'll start by answering the second question - the reason is that the protocols expect the function to return And now moving on to a more difficult question for me - it's embarrassing to admit, but I don't remember why I did that - I probably didn't want to put too many typealias in there, but I'm not sure 😅 I'm planning to come back to this library in about 1.5 months (I'm currently working on NavigationView, then there will be PopupView and then I'm releasing MediaPicker), so I promise to come back to this question then 😅 Thanks for your question and have a nice day! |
Yeah unfortunately using AnyView breaks identity and is discouraged by Apple in most cases. :/. |
yeah, I know this breaks the view hierarchy on re-rendering and if that's the only reason I did it (not sure tho), then it's an obvious mistake. Anyways, I promise to come back here ASAP 😉 |
Thanks for the quick response. LMK if you need help. |
Why is erasing to any view required? when I remove those erasures, the UI is no longer styled
The text was updated successfully, but these errors were encountered: