Skip to content
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

Fix share link on macOS #17

Open
migueldeicaza opened this issue Mar 31, 2023 · 1 comment
Open

Fix share link on macOS #17

migueldeicaza opened this issue Mar 31, 2023 · 1 comment

Comments

@migueldeicaza
Copy link
Owner

It evaluates too early, the new swift support should fix this:

https://github.com/twostraws/whats-new-in-swift-5-8/blob/main/Whats-New-In-Swift-5-8.playground/Pages/Lift%20all%20limitations%20on%20variables%20in%20result%20builders.xcplaygroundpage/Contents.swift

@migueldeicaza
Copy link
Owner Author

The @lazy just ended up evaluating the string every time.

ShareLink on macOS is not great. I might have to bite the bullet and wrap the native share view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant