New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use in Objective-C project #9
Comments
Hi andyden9. |
I mean the ViewController with "left" or "main". |
Oh sorry, lol, because I set the DrawerController as the initial View Controller, and after storyboard init, I only got a blank UIViewController as I showed in the debug view hierarchy. Are you busy today? Could you add my wechat(anddddddy) or skype(appleandy94) to instruct me a bit if you're available? The only difference between your demo and my project I can find is, the demo is a pure swift project, and mine is a pure objective-c project.... |
You use the swift library in the objective-c project. This symptom seems to be similar to what happens when a Custom Class is incorrectly specified. |
Yes I am using the KWDrawerController as the only swift library in my objective-c project 😱 and I didnt' specify a bridge header since I thought CocoaPods will automatically generate it for me..... I guess that's the issue, let me try to specify a header manually. Thank you Kawoou! 🙏 |
Fortunately! |
Hi Kawoou! Storyboard is still no luck for me so I switched to code, and I've found an issue, that the setViewController:side: method in DrawerController maybe duplicated with some system method so OC can't find this method. After rename this to setVController:side: I can use it and everything just work out fine in OC. May I submit a pull request to fix this? Just name changing. Cheers, |
It's really weird in objc! PR is always welcome, even with small modifications 👍 |
Thank you for sharing this great library! I've submitted the PR, please review. |
Hi Kawoou,
I'm using your framework through CocoaPods, I use it exactly as your instruction, but storyboard failed to init DrawerController and returns a plain UIViewController as the initial ViewController. Do you happen to know what's the issue here? Thank you so much in advance!
The text was updated successfully, but these errors were encountered: