Comments (13)
Hi andyden9.
You say mean that even if you specify a "Custom Class" in the identity inspector, it is initialized as if the default UIViewController.
from kwdrawercontroller.
Yes exactly, do you happen to know what caused this? I've stuck on this for more than 5 hrs
from kwdrawercontroller.
I mean the ViewController with "left" or "main".
How did you find out that the DrawerController was initialized with a pure UIViewController?
from kwdrawercontroller.
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....
from kwdrawercontroller.
Sorry my bad, it seems showing the '
If it works, simulator should show this:
from kwdrawercontroller.
I found something else, though it's correctly set in the story board as shown(in previous messages), the viewDidLoad method in DrawerController never gets called....
from kwdrawercontroller.
You use the swift library in the objective-c project.
If so, did you specify a bridge header?
This symptom seems to be similar to what happens when a Custom Class is incorrectly specified.
from kwdrawercontroller.
Yes I am using the KWDrawerController as the only swift library in my objective-c project
from kwdrawercontroller.
Fortunately!
Happy Development
from kwdrawercontroller.
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,
Andy
from kwdrawercontroller.
from kwdrawercontroller.
It's really weird in objc!
PR is always welcome, even with small modifications
Thank you for using this project.
from kwdrawercontroller.
Thank you for sharing this great library! I've submitted the PR, please review.
from kwdrawercontroller.
Related Issues (20)
- Observe state with delegate HOT 2
- Storyboard Instructions HOT 1
- Using DrawerSlideTransition should resize the side view controllers to the available width HOT 2
- Unable to get delegates to fire HOT 2
- When closing a side panel presented using DrawerFloatTransition, the primary view is sometimes re-presented offset to the left HOT 3
- drawerController is null in viewWillDisappear and viewDidDisappear HOT 12
- DrawerController incorrectly manages lifecycles of child controllers HOT 1
- I can't trigger to open left or right side by button action. HOT 7
- Remove the gestures for a certain drawer HOT 1
- Compilation errors if using Xcode 10 and Swift 4.2 HOT 1
- not working after pod install
- Need Info HOT 1
- Only left drawer. HOT 3
- Orientation Change Bug HOT 1
- No animation when replacing new controller to existing one in DrawerController
- Slide animation bug HOT 5
- Q: Is possible add cornerRadius to main view controller? HOT 2
- Using a .right side menu, at first attempt of openSide(.right) results in a left side opening HOT 5
- I cannot change preferredStatusBarStyle
- Swift Package Manager HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kwdrawercontroller.