How to detect while bubble index is pressed after click/press on the bubble
AnilkumarRabhasa opened this issue · 3 comments
AnilkumarRabhasa commented
Thanks for the great library. But, after clicking on the bubble, how to get index of that bubble, is there any delegate method? I want to track which bubble is pressed, based on that index I need to know the bubble name/index to do some exercise.
Thanks!
AlbertoLourenco commented
@AnilkumarRabhasa implement the SIFloatingCollectionSceneDelegate to use these methods:
floatingScene(_ scene: SIFloatingCollectionScene, didSelectFloatingNodeAt index: Int)
floatingScene(_ scene: SIFloatingCollectionScene, didDeselectFloatingNodeAt index: Int)
AnilkumarRabhasa commented
Thanks for your reply @AlbertoLourenco , but, how can I call these delegate methods to my ViewController class which is showing the layout of circle bubble?
ProudOfZiggy commented
This question is not related to framework.