exyte / fan-menu

Menu with a circular layout based on Macaw
MIT License
728 stars 58 forks source link

Use with SwiftUI #58

Closed benstokoe closed 4 years ago

benstokoe commented 4 years ago

Hey, is it possible to use this with SwiftUI? And how would I use it?

Thanks

shipinev commented 4 years ago

Hey @benstokoe. You might be interested in our SwiftUI version of this library called FloatingButton. But if you want to use FanMenu in SwiftUI, you need to implement a wrapper by using UIViewRepresentable protocol. I hope this helps you.

benstokoe commented 4 years ago

Ah! Sorry I didn't realise that it could do the circle as well! I thought it was only the straight list. My bad. Thanks for getting back to me