Questions tagged [ecslidingviewcontroller]

ECSlidingViewController is a view controller container that manages a layered interface. The top layer anchors to the left or right side of the container while revealing the layer underneath it. This is most commonly known as the “Side Menu”, “Slide Out”, “Hamburger Menu/Drawer/Sidebar”, etc…

Open source Side Menu for iOS (). Available on GitHub.

  • Panning gesture to move top view can be set on any UIView (). It is most likely a navigation bar or the whole top view itself.
  • Configurable anchor positions, with automatic adjustments for orientation change.
  • There are no assumptions about the size and layout of the views under the top view. See the underLeftWidthLayout and underRightWidthLayout properties if you need a common layout.
  • The child views can be changed at anytime.
  • Child view controllers can be an instance of UIViewController () or any subclass of UIViewController including UINavigationController () and UITabBarController ().
  • iPad () support.
163 questions
2
votes
0 answers

ECSlidingViewControler will not reset top view after anchoring top view

I call anchorTopViewToRightAnimated: onComplete: and then call resetTopViewAnimated: in the completion block, but it doesn't reset. Everything else in the completion block executes fine. Even calling anchorTopViewToRightAnimated: and…
2
votes
1 answer

Dismissing a ViewController does not get to desired Controller

I am terrible at understanding work with interface builder, so (probably dumb) question comes. I have created sliding view controller. When I click a cell, I want this controller slide back as it was. I used [self dismissViewControllerAnimated:YES…
sermilion
  • 185
  • 1
  • 15
2
votes
1 answer

ECSlidingViewController 2.0 disable rotate for one UIViewController

My app build with ECSlidingViewController 2.0 as the sliding menu. I would like to disable the rotate for only one UIViewController . all my UIViewController start with UINavigationController. I have make a SubClass of UINavigationController to…
user3491799
  • 322
  • 4
  • 16
2
votes
1 answer

ECSlidingViewController remove PanGesture

The setup in Storyboard: NavigationController >> AViewController >> BViewController I am using ECSlidingViewController 2.0, I want to remove the panGesture for BViewController, I put the code in BViewController under -(void)viewWillAppear. but…
user3491799
  • 322
  • 4
  • 16
2
votes
2 answers

ECSlidingViewController - handle callback

how can I handled event when Left menu hided. For example: On home screen I have a table with items On left side Menu I have a category list, when I selected the item on the left menu I assign value of a global variable and go to back to main top…
2
votes
1 answer

How to know when menu is "open" using ECSlidingViewController

I am using the ecsliding for a menu in my app. I was wondering how to know when the menu is open and when it has control. I am trying to do themes in the menu and am having issues because I "reset" the colours on viewdidload and viewdidappear (for…
Andy
  • 479
  • 7
  • 20
2
votes
1 answer

ECSlidingViewController Zoom Animation

I'm trying to set my sliding transition with Zoom Animation in ECSLidingViewController2. Like in the TransitionFun example…
stefano_cdn
  • 1,362
  • 2
  • 15
  • 29
2
votes
2 answers

TableView overlaps the status bar in sliding view controller

I'm creating a slidingView controller using ECSlidingViewController like the one the previous version of Facebook had. Everything works fine but the menuViewController (tableViewController) is being overlapped by the status bar when I add an image…
bachman
  • 690
  • 7
  • 22
2
votes
1 answer

Cocoapods library doesn't correctly return isKindOfClass during unit tests

I have a library that I installed with Cocoapods (ECSlidingViewController). In the code, a comparison is done using -isKindOfClass. In the debugger, printing descriptions and everything says this variable is an ECSlidingViewController. However, when…
s73v3r
  • 1,751
  • 2
  • 22
  • 48
2
votes
1 answer

ECSlidingViewController error (object cannot be nil) when viewWillAppear

In my app I've a navigation Controller that is connected to another viewController (root controller). In my project I've imported ECSlidingViewController.h and .m. In the viewController that will be used as a right-side menu (listViewController.h),…
2
votes
3 answers

Objective-c multiple delegates in the same view - ECSlidingViewController

I started testing ECSlidingViewController and after I tried to access FirstTopViewController I have a big trouble - because in FirstToViewController I already have ZBarReaderDelegate implemented and all examples of delegate are not triggering any…
Ragen Dazs
  • 2,115
  • 3
  • 28
  • 56
2
votes
1 answer

Switching views with ECSliding without navigation menu

I'm using ECSlidingViewController. In the sample project i added a button on the First view with an IBAction I want the button on the First view to go to the second view (without using the slide out navigation). - (IBAction)btnPressed:(id)sender…
user1838169
  • 534
  • 1
  • 6
  • 17
1
vote
1 answer

Using ECSlidingViewController to change to a new storyboard

I am trying to split up my Storyboard as it has become painful to work with and I need to have some separation for organizational purposes. I am using ECSlidingViewController as a main navigation menu. It has been working great. But now that I…
jmr1706
  • 239
  • 2
  • 13
1
vote
0 answers

Issue While Pushing New ViewController

I am using ECSlidingViewController. What I want that if my app is first launch the I Want to show Terms and Conditions and when User Accepts it then I am changing ViewController to ECSlidingViewController My Code is: -…
Rahul
  • 5,594
  • 7
  • 38
  • 92
1
vote
1 answer

iOS - UITableViews are being resized when they shouldn't be

I'm working with ECSlidingViewController. When I load my view, everything displays perfectly. When I slide the menu out for the first time after loading a view, the two tables in my view change their heights. The top table gets an extra (blank) row…
Marcel Marino
  • 962
  • 3
  • 17
  • 34
1
2
3
10 11