kawoou / KWDrawerController

Drawer view controller that easy to use!
MIT License
157 stars 32 forks source link

Unable to get delegates to fire #19

Closed ttupper92618 closed 6 years ago

ttupper92618 commented 6 years ago

Is there an example of using the delegates somewhere? I'm having trouble getting any delegate method to fire, and I badly need to be able to respond to drawer state as it changes.

ttupper92618 commented 6 years ago

I worked around this using notificationCenter, but it would still be nice to understand the proper way to consume the delegate methods. Ostensibly, conforming the view and including the delegate methods should work, correct? But that does not in fact happen; delegates are never called.

I do not want to use rxSwift.

kawoou commented 6 years ago

If you do not use RxSwift, try this:

pod 'KWDrawerController/Core'

Delegates are not called issues are also resolved in this way.