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
0
votes
1 answer

ECSlidingViewController pod installation error

I am trying to import ECSlidingViewController library to my iOS mobile application by using Podfile: source 'https://github.com/CocoaPods/Specs.git' platform :ios, '7.0' pod 'ECSlidingViewController', '~> 2.0.3' When Im trying to open workspace I…
Jacob Jones
  • 501
  • 2
  • 6
  • 22
0
votes
1 answer

ECSlidingViewController crashes on second swipe

I'm building a new project using ECSlidingViewController v2. The first time I swipe to open the left under view, it works great. But when I swipe the second time, I get an EXC_BAD_ACCESS crash. The reference is to the NSMapTable in the…
0
votes
1 answer

How can I darken the ECSlidingViewController view controller in the transition?

The documentation mentions adding shadows to the controller being animated to show the slide menu. However, instead of a shadow I would like to make the animated view controller to be darker. Is this possible?
Grzegorz Adam Hankiewicz
  • 7,349
  • 1
  • 36
  • 78
0
votes
1 answer

ECSliding ViewController Navigation Hierarchy

I'm using ECSlidingViewController (See Documentation) to achieve the sliding menu function. What I intend to do Here's the list of my ViewControllers SlidingMenu View Controller A (embedded in Navigation Controller) View Controller B1 View…
0
votes
1 answer

Perform action before resetTopViewAnimated on tap gesture

I am trying to perform an action (removing a subview) every time the side menus are closed. But I want this action to be performed before resetTopViewAnimated starts. I only have the TapGesture (no slide) configured on my ECSlidingViewController. Is…
0
votes
0 answers

Trying to open multiple views simultaneously causes a crash

My app calls a block in tableView:didSelectRowAtIndexPath and in the block it presents a view controller. If I click the cell second time when the first click is in progress, it crashes. I've solved the problem using…
zontragon
  • 780
  • 1
  • 9
  • 27
0
votes
1 answer

Why is viewWillAppear: called twice when my view controller is initially displayed?

I have an iOS 7 app with a side hamburger menu and a main table view controller where I display content. Whenever the user selects an item in my side menu, I'm hiding the side menu and I want to reload data in the main view controller. My initial…
Sebastien
  • 3,583
  • 4
  • 43
  • 82
0
votes
1 answer

ECSlidingViewContoller view not rotating

For some reason, if I subclass ECSlidingViewContoller, it won't rotate (and neither will any subview). Basically if I do this, popUpViewController.view won't rotate: @interface DSlidingViewController : ECSlidingViewController DPopUpViewController…
Lord Zsolt
  • 6,492
  • 9
  • 46
  • 76
0
votes
2 answers

ECSlidingViewController with Push and Unwind Segue

I am using ECSlidingViewController with storyboards. ECSlidingVC is my root (starting) controller. My left menu is a TableView with static cells, and my TopViewController is a navigation controller. I want to have a single NavigationController for…
0
votes
1 answer

Need advise in implementing ECSlidingViewController

I am trying to deploy from scratch something like BasicMenu example. Steps are already done: ECSlidingViewController created in storyboard with proper User Defined Runtime Attributes and set as init view. MenuViewontroller created with identifier:…
fir
  • 387
  • 1
  • 3
  • 19
0
votes
1 answer

EcSlidingViewController disable gester all together

I am using EcSlidingViewController version 1, and I am trying to disable the gesture all together. I just need the button to slide view controllers in and out. I have found a few links here but they were all for disabling the tableview swipe to…
Eric
  • 157
  • 1
  • 11
0
votes
1 answer

Trying to compile a .a library file from ECSlidingViewController

I think my problem is due to my lack of knowledge with native iOS development. I am working on a Xamarin project and wanted to create a native binding to the ECSlidingViewController library. To do that I need it as a static library (.a file). I…
Tom
  • 3,807
  • 4
  • 33
  • 58
0
votes
1 answer

ecslidingviewcontroller move top view off screen

I'm using ecslidingviewcontroller 2, which removed anchortopviewoffscreen methods. What's the best way to move top view off screen to make room for search in the menu view controller? Thank you.
Denis
  • 115
  • 1
  • 8
0
votes
1 answer

How do I make sure view controller gets notified about rotations as usual when it is presenting another view controller?

I was looking for an answer to this for quite a while, but found nothing relevant. In my app I have a rather complicated view controller hierarchy, with ECSlidingViewController instance at its root. On iPad there are big differences between…
johnyu
  • 2,152
  • 1
  • 15
  • 33
0
votes
1 answer

Preventing Sliding When Top View is Off Screen

So I've been playing around with the examples included with ECSlidingView. In the BasicMenu Example: I've placed 20 rows in the Settings table view. When I open the menu, the table view in settings continues to slide if I touch it. In the…