Questions tagged [mmdrawercontroller]

a lightweight, easy to use, Side Drawer Navigation Controller

MMDrawerController, found at http://github.com/mutualmobile/MMDrawerController, is a side drawer navigation container view controller designed to support the growing number of applications that leverage the side drawer paradigm. This library is designed to exclusively support side drawer navigation in a light-weight, focused approach while exposing the ability to provide custom animations for presenting and dismissing the drawer.

90 questions
12
votes
2 answers

Swift does not import typedef from Objective-C Header

It seems that Swift does not recognize a typedef in a Objective-C-Header as I get following error: Could not find a user-defined conversion from type 'MMDrawerControllerDrawerVisualStateBlock!' to type '(MMDrawerController!, MMDrawerSide, CGFloat)…
user1564913
10
votes
1 answer

State Preservation and Restoration issue in iOS using MMDrawer

I have integrated the MMDrawerController Library in an iOS application and now I have a requirement to Restore application state even though application is killed in background(Only when application is enter from foreground to background), it is…
Brjv
  • 1,054
  • 1
  • 8
  • 24
5
votes
0 answers

App crashing using MMDrawerController Gesture in drawer

I am using MMDrawerController for showing drawer. My app is crashing on clicking on the drawer menu options. It works well in iOS9 but crashes in iOS8. Does anyone have any idea about what is happening here. Am I missing something here? I am getting…
kalim sayyad
  • 1,076
  • 1
  • 9
  • 13
5
votes
1 answer

How to set the Drawer width of MMDrawerController to the width of the Screen using Swift 2?

I am Using MMDrawerController on my Project. I have a Menu that shows from Left to Right and It is working Properly. But my requirement is to have a drawer that have a width of the current screen Width. How can i do that Using Swift ? Currently the…
Joker
  • 830
  • 2
  • 14
  • 30
5
votes
0 answers

MMDrawerController not working with CocoaPods

Here is my podfile: platform :ios, '8.0' use_frameworks! target 'myApp' do pod 'PureLayout', '~> 2.0.6' pod 'MMDrawerController', '~> 0.5.7' pod 'SwiftyJSON', '~> 2.2.0' end And here is my briding header: #import…
Thomas
  • 2,356
  • 7
  • 23
  • 59
5
votes
4 answers

MMDrawerController Library to work with storyboard

So I've recently come across this pretty neat library, MMDrawerController. I've managed to install it and initialized it with the code below in appDelegate.m. -(BOOL)application:(UIApplication *)application…
3
votes
2 answers

IOS MMDrawerController's left menu table view content is shifted down after displayed

I'm using MMDrawerController, but got a problem: When left/right menu (drawer) is opened first time (after app launched) its content is shifted down after displayed. Please see image below (sorry for the big image but slow motion makes it easier to…
Yaiba
  • 571
  • 7
  • 14
3
votes
0 answers

MMDrawerController with UITabBarController showing a black gap on top of the center view

I am opening a UITabBarController with MMDrawerController on the left side. So from my delegate didFinishLaunchingWithOptions I am making a MMDrawerController with centerNav is a TabBarController and leftNav is a ViewController with Navigation…
Kousik
  • 21,485
  • 7
  • 36
  • 59
3
votes
1 answer

MMDrawerController Pre Built Animations with Swift

I'm using MMDrawerController, and I'm trying to change the way the drawer slides out. In objective C, I would do [drawerController setDrawerVisualStateBlock:[MMDrawerVisualState slideAndScaleVisualStateBlock]] to change how the drawer slides out…
Thomas
  • 2,356
  • 7
  • 23
  • 59
2
votes
3 answers

After closeing MMDrawer Controller which view controller life cycle method will called in swift4?

i have a tab bar controller, and inside that tab bar i have five view controller. i also have have a right view controller(drawer) which is on homeVC. for rightViewController i use MMDrawerController source:…
Gorib Developer
  • 587
  • 2
  • 13
  • 27
2
votes
1 answer

iPad Split Screen causes Drawer to be dark

I'm using an MMDrawerController to have a right-side drawer on my app. This works very well normally, but something gets weird when displayed in Split Screen on an iPad. Here is a picture of the app with the right-side drawer open. You can see the…
Kenny Wyland
  • 20,844
  • 26
  • 117
  • 229
2
votes
1 answer

MMdrawercontroller menu not closed

I use the MMdrawercontroller in my objective-c application for the left menu. I have in the navBar a button to open/close the menu. The problem is that the menu is only opened and not closed. This is my code: - (IBAction)showMenu:(id)sender { …
Ne AS
  • 1,490
  • 3
  • 26
  • 58
2
votes
0 answers

Unsure how I'm getting EXC_BAD_ACCESS KERN_INVALID_ADDRESS

I've looked through a ton of other StackOverflow posts about this error and all of them provide very reasonable solutions the problem. In other words, they generally pinpoint something in the code that isn't being auto-retained, but should be and…
Kenny Wyland
  • 20,844
  • 26
  • 117
  • 229
2
votes
1 answer

Navigation bar not showing with MMDrawerController

I am new to swift and iOS development. In my project i am loading slidein menu with MMDrawerController, it works fine for slide ,but after initializing MMDrawerController in AppDelegate, by top navigation bar [navigation controller] is not getting…
drac13
  • 112
  • 9
2
votes
1 answer

disable mmdrawer viewcontroller menu in swift

I made a two menus in my swift app with mmdrawer. They work perfectly, however i would like to disable the left menu on certain pages. I found the following code to do this appDelegate.centerContainer!.leftDrawerViewController = nil It works but…
carlosx2
  • 1,672
  • 16
  • 23
1
2 3 4 5 6