Questions tagged [swrevealviewcontroller]

A UIViewController subclass for presenting side view controllers inspired on the FaceBook and Wunderlist apps

  • A Reveal view controller implemented using view controller containment.
  • API easier than a UINavigationController.
  • Support for any combination of left/right rear controllers.
  • Correct handling of appearance methods on its child controllers that you can rely on.
  • Correct handling of rotations.
  • Can be embedded as a child view controller of other controllers or deployed as the rootViewController.
  • Plays nicely with any child view controllers or parent controllers.
  • Can be deployed as a child of itself to create cascade-like, hierarchical interfaces.
  • Seamless integration of pan gesture recognizer, behaving as smooth as silk.
  • A category method on UIViewController, revealViewController, to get the parent SWRevealViewController of any child controller, similar to the UIViewController's property navigationController.
  • Lightweight, clean, easy-to-read, self-documenting code that you will enjoy using in your projects.
580 questions
4
votes
0 answers

SWRevealViewController and pauseInteractiveTransition not implemented

I use SWRevealViewController in a lot of my projects. Since updating to Swift 3 with an iOS deployment target of 10.0 or higher, I am now getting a warning Method 'pauseInteractiveTransition' in protocol 'UIViewControllerContextTransitioning' not…
Stewart Lynch
  • 875
  • 9
  • 26
4
votes
1 answer

iOS- darken front view when rear view open using SWRevealViewController

I am trying to darken the front view when I reveal the rear view. is there any way to do this? swift please (I'm not very experienced with objc.. I know, I know- no need to preach..) Thanks
Shlomo Koppel
  • 885
  • 7
  • 14
4
votes
1 answer

why does rightRevealToggle do nothing in 'SWRevealViewController'?

I'm trying to implement SWRevealViewController but having some issue while trying to display the menu from the right. In their documentation, in order to display it from the left we should do [self.sidebarButton setTarget:…
user5563983
4
votes
2 answers

Error on didselect tableview on SWRevealViewController

when i worked with slide out menu using SWRevealViewController class ,it works correctly in iphone simulator.But when i tried to run in the iphone 5 device for testing,while selecting the menu button it shows the slide out menu properly, but…
Abdul Nouzil
  • 373
  • 1
  • 3
  • 9
4
votes
1 answer

SWReveal - CoreAnimation warnings: stiffness/damping must be greater than 0

I have integrated SWReveal into my app after running tests in a seperate project. I downloaded SWReveal (latest = v2.4) from here and followed tutorial on AppCoda. In the stand alone project I had no issues. However inside my app (still running as a…
zevij
  • 2,416
  • 1
  • 23
  • 32
4
votes
2 answers

SWRevealViewController - push view controller from side menu

I've set up my app using the SWRevealViewController and it's working fine but I want to change how it works. At the moment I have the following views on the same level: Home View A View B But I want: Home View A View B I still want Home, View…
GMon
  • 638
  • 6
  • 14
4
votes
3 answers

Configure SWRevealViewController programmatically?

I have a found many tutorials on how to configure SWRevealViewController via storyboards, but I am looking to move away from storyboards and xibs altogether. So I was wondering, is there a way to configure the library programmatically?
Julian B.
  • 3,605
  • 2
  • 29
  • 38
4
votes
1 answer

How to navigate to sw_front view using SWRevealViewcontroller in ios?

I am using SWRevealViewController to impliment sidebar in my ios app.I have followed appcoda tutorial to implement it.As per this tutorial I have made two segue's sw_front which is for main viewcontroller(rootviewcontroller) and second one is…
Akshaykumar Maldhure
  • 1,239
  • 1
  • 18
  • 32
4
votes
3 answers

iOS SWRevealViewController - pass data between controllers

I am using SWRevealViewController to implement a slide menu (from the left side) in my application. Everything is working fine but now I am facing a little problem.I want to pass data from my "main" view controller (the one that is full visible, and…
user3466562
  • 465
  • 2
  • 10
  • 23
4
votes
0 answers

SWRevealViewController with a modal Segue

I am using SWRevealViewController for the SideMenu which has a "Login" option. Upon clicking the Login button on sideMenu SWRevealViewController I use a modal segue to go to LoginViewController . The reason I use a modal segue is because I want a…
Rhiya
  • 271
  • 6
  • 21
4
votes
5 answers

SWRevealViewController - RightViewController

I'm using SWRevealViewController for implementing two side navigation views in my application. I followed the story board method and successfully implemented the rear view and front view. I tried setting right view exactly like the rear view via…
LoveMeSomeFood
  • 3,137
  • 7
  • 30
  • 53
4
votes
6 answers

SWRevealViewController add gesture to entire front view

Right now I am using SWRevealViewController class in my project. The basic functionality allows me to swap front view by pressing navigation bar button. But I want to add gesture to entire view. I can add this code and it works for my…
Matrosov Oleksandr
  • 25,505
  • 44
  • 151
  • 277
3
votes
0 answers

iOS - Detect panGesture on edge of screen to open side menu + UICollectionView with horizontal scrolling

I just have an UICollectionView inside my UIViewController. I am using SWRevealViewController to open left/right side menu. I can set its panGestureRecognizer to provide full screen…
user7219266
3
votes
0 answers

SWReveal slide "over" + dim front view

Is it possible to customize SWReveal to slide over the front view instead of pushing it while also dimming it? I tried revealViewController().presentFrontViewHierarchically = true but it resized one of the views and this isn't what I need.
Tarek
  • 783
  • 10
  • 31
3
votes
1 answer

SWReveal with a UIButton

So I wanted to add a slide menu to my app where if you tap a button, the menu slides from the left. After some research I found a guide for using SWRevealViewController to create a slide out menu, but I quickly realized that video, and pretty much…
RPatel99
  • 7,448
  • 2
  • 37
  • 45
1 2
3
38 39