kawoou / KWDrawerController

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

fix setViewController:side: name might be dupicated that can't find this method in OC #10

Closed andyden9 closed 6 years ago

andyden9 commented 6 years ago

change the name to setVController:side: and OC can find this method

andyden9 commented 6 years ago

fix issue #9 by use code not storyboard

kawoou commented 6 years ago

Please change base to develop.

andyden9 commented 6 years ago

I'm sorry, seems the issue in OC is not caused by this, I can't find the reason that the automatically generated Objective-C-Swift header miss tons of methods..... Do you know any reason causing this?

2018-01-19 3 27 09
kawoou commented 6 years ago

When I create this library, does not consider the ObjC environment. So it seems that many properties are not available either. It has been confirmed that this is not the only problem with the setViewController method.

In order to fully support ObjC, I think I need to fix all parts of the swift syntax. This modification seems to be a big side effect, as many of the method names will be modified.

You've been waiting a lot, but it seems to be difficult to fix. If you really want to use this library then, Implement yourself that @objc and each class can be modified to inherit NSObject.

I am really sorry.