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
3
votes
8 answers

SWRevealViewController dismiss keyboard on swipe

I am using SWRevealViewController in my app and I am having a problem. I have a textfield in a scene, if I swipe left when the keyboard is open, the menu appears but it does not dismiss the keyboard. How do I dismiss keyboard on left swipe? I have…
AL̲̳I
  • 2,441
  • 4
  • 29
  • 50
2
votes
0 answers

SWRevealViewController is not working after the Login Page in Swift 3

I am very new to Swift. I am working on SWRevealViewController in swift 3. My requirement in my project is I have a LoginView Controller. In that, if Login is success means I will get to HomeViewController. In HomeViewController I need…
anusha B
  • 23
  • 3
2
votes
2 answers

iochanging slid-in and slid-out animation to fade-in and fade-out in SWRevealViewController

I am using SWRevealViewController for menu on the left, I want to change the default animation and make Fade-Out animation. I tried with the delegate they have as below but it didn't work out. func revealController(_ revealController:…
2
votes
2 answers

SWRevealViewController closes when opened beyond 'snappoint'

I'm trying to make the SWRevealViewController work in my application. What I did is I didn't want to be able to open the menu from everywhere on the screen so I changed all the UIPanGestureRecognizer with UIScreenEdgePanGestureRecognizer so it would…
NoSixties
  • 2,443
  • 2
  • 28
  • 65
2
votes
2 answers

How to disable front ViewController's view when RearViewController's view is active SWRevealViewController in Swift 3.0

How to disable user's interaction with front view controller - namely with class ViewController in my case, when the rear menu is shown. With the current code, when rear menu is shown, bookCleaningButton is not disabled. import UIKit class…
bibscy
  • 2,598
  • 4
  • 34
  • 82
2
votes
1 answer

Buttons to Social Media Apps not working - Swift

I am currently making an app and I am using Swft 3 with Xcode 8.2 beta. I am trying to make it so that the user is able to access the social media from the SWRevealViewController in my iOS project. When the social media buttons are clicked they…
Rajat Khare
  • 522
  • 8
  • 26
2
votes
0 answers

How to Pass an array through SWRevealViewController?

I'd like to pass an array through the SWRevealViewController so that the array is accessible in my sw_rear TableViewController. Previous solutions to this problem invoke modifying the prepare for segue section of the SWRevealViewController.m file.…
ariel
  • 21
  • 1
2
votes
1 answer

Default front view for SWRevealViewController

I have just implemented an SWRevealViewController into my application and I have one problem. The front view (the view on top of the table view) is not the view controller I want on top. I have two view controllers which I link to from my table…
needshelp
  • 595
  • 1
  • 6
  • 25
2
votes
1 answer

SWRevealViewController Issue while getting currentController

I have used the following method to get the current viewController but it always returns SWRevealViewController as currentController. I have used SWRevealViewController for handling a slide menu. extension UIApplication { class func…
saroj raut
  • 834
  • 8
  • 16
2
votes
2 answers

How to manage SWRevealViewController with button

I tried to implemented the SWRevealViewController to my project, but I want to do it with a button and all documentations I found are for barbuttonitems that have this code: detailButton.target = revealViewController() detailButton.action =…
mike vorisis
  • 2,786
  • 6
  • 40
  • 74
2
votes
1 answer

SWRevealViewController not working because Value of type 'XX-ViewController' has no member 'revealViewController'

I added SWRevealViewController.h and SWRevealViewController.m by using drag and drop. Bridging header pop up not came. I have 3 pod files also. So I just want to check whether error is coming because of 'Header file not added' or by another pod…
Kishor Pahalwani
  • 1,010
  • 1
  • 23
  • 53
2
votes
3 answers

SWRevealViewController and Tab Bar Controller in detail

This question has been asked before and has been answered, my question is not unique but there must be something missing as none of the structures I have tried works. I am simply trying to achieve the SWRevealViewController "menu" button in each of…
2
votes
3 answers

how to resolve the swrevealviewcontroller issue

I have used SWRevealviewcontroller in my project. At first I took a viewcontroller named it "SWREVEALVIEWController" and set the sw_rear to a tableviewcontroller. And in the sw_front part I set a TabbarViewcontroller. Now I have the few row data…
PRADIP KUMAR
  • 489
  • 1
  • 9
  • 31
2
votes
1 answer

Get user email from loginviewcontroller and show in revealview's label

I have almost built an app but I want to show the email address of current user in the reveal view or side view's label. The reveal view is a tableviewcontroller and the loginview is a simple viewcontroller. I used following code in login view…
2
votes
1 answer

keep saved state of view controller in SWRevealController in iOS?

I am using SWRevealController in my app.I have one MainController as "HOME" which is shown when app launches. Now I have textfield & other controls on that screen. When i switch to another screen & come back to "Home" then all data on "Home" screen…