ProudOfZiggy/SIFloatingCollection_Swift

Delegate method not called

nadagamal opened this issue · 1 comments

Hi,

I tried to implement use delegate method at viewcontroller but it's not called. Although I set the delegate to the view controllor " floatingCollectionScene.floatingDelegate? = self as! SIFloatingCollectionSceneDelegate;"

func floatingScene(_ scene: SIFloatingCollectionScene, didSelectFloatingNodeAt index: Int)

Thanks

According to your code:
floatingCollectionScene.floatingDelegate? = self as! SIFloatingCollectionSceneDelegate;

I'm not sure that your self in really SIFloatingCollectionSceneDelegate instance.