yannickl / FlowingMenu

Interactive view transition to display menus with flowing and bouncing effects in Swift
MIT License
974 stars 111 forks source link

Problem with UICustomObject:panToPresentAction #23

Open ins0u opened 6 years ago

ins0u commented 6 years ago

Hi,

I'm trying to set up this menu in my project. I tested the example and it works but when I try to reproduce it in my project, I have an error when I slide to open the menu.

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UICustomObject panToPresentAction:]: unrecognized selector sent to instance 0x1c40193d0'

I think I forgot something but I don't know what..

Can you help me please ? :)

yannickl commented 6 years ago

Hi,

How did you create the FlowingMenuTransitionManager object? Via Interface Builder or programmatically?

If this is the first proposition be sure you've set the type of the custom object properly:

interface builder - FlowingMenuTransitionManager setup
ins0u commented 6 years ago

Maybe that's where I made a mistake..

I did not know how to add it to the left (on your screenshot) so I opened 2 xcode, your project and mine and I drag your "Flowing Menu Transition Manager" in mine but I'm not sure it works well like that.

How do you add it in the left column?

Otherwise, for the right column, yes I have the same thing.