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
2 answers

SWRevealViewController swipe gestures are not working

Hello i have integrated swrevealview controller in swift. I have written below code in app delegate. let frontView = ViewController(nibName: "ViewController", bundle: nil) let rearView = LeftViewController(nibName : "LeftViewController", bundle…
Anil Kukadeja
  • 1,348
  • 1
  • 14
  • 27
3
votes
1 answer

Stop SWRevealViewController animation when select

i am trying to disable SWRevealViewController animation when selecting the row, this is a sliding-menu library to use with swift or objective-c, what i am saying is when i select the row from the menu it expands like 40 px to the right then it close…
user5035065
3
votes
1 answer

SWRevealViewController: what is the callback on frontViewController when self.revealViewController().revealToggleAnimated(true)

OptionViewController.swift: This is the slide menu override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) { var option : OptionVO option = viewOptions[indexPath.row] var nav =…
Imran
  • 769
  • 1
  • 9
  • 21
3
votes
0 answers

SWRevealViewController results in black screen

I have an issue with a black screen of the side view. I have the following storyboard: So how can I solve the black screen syndrome? I also put the question over here. github swreveal
AndaluZ
  • 1,410
  • 3
  • 15
  • 33
3
votes
1 answer

SWRevealViewController rightRevealToggle not working with UIButton in storyboard

In my xcode project, I want a UIButton to open a right slide-out menu using SWRevealViewController but it isn't working. Any help? He's the code in my view didLoad for the UIButton: SWRevealViewController *revealViewController =…
3
votes
2 answers

ios SWRevealViewController reveal push segue animation

I'm using SWRevealViewController(the updated version) to make a slide-out sidebar menu app, connecting different rear view controllers (based on different sidebar cell tapped) by SWRevealViewControllerSeguePushController class segue. every time I…
3
votes
1 answer

SWRevealViewController not toggle

I'm trying to implement SWRevealViewController in a project without using storyboard. I think it's possible to do but i unfortunately failed. The button in the navigation bar does not perform the "revealToggle" action that is defined on him. So…
user3405644
  • 195
  • 1
  • 2
  • 11
3
votes
2 answers

What is the correct way to use SWRevealViewController and Swift?

What is the right way to use SWRevealViewController with Swift? XCode: 6.0.1 I am even having trouble important the file properly :/ MenuViewController.swift import UIKit import SWRevealViewController class MenuViewController:…
AG1
  • 6,648
  • 8
  • 40
  • 57
3
votes
3 answers

SWRevealViewController push Segue

I am trying to use a SWrevealViewController for sidemenu . One of the options on it is "User Profile" . Since I access user's profile from various other views , I would like to have to have a push segue to this VC. However , a push segue is not…
Rhiya
  • 271
  • 6
  • 21
3
votes
1 answer

UIScreenEdgePanGestureRecognizer to activate SWRevealViewController pan gesture

I am using SWRevealViewController for sidebars and I have to use swipe for my previous and next stories and edge pan for sidebars. The reason I use UIScreenEdgePanGestureRecognizer instead of PanGestureRecogniser is because swipe will end up call…
3
votes
2 answers

How to disable SWRevealViewController swipe in one UIViewController

How do you programmatically disable the SWRevealViewController swipe in a single UIViewController while allowing it to work in all the others? I want to disable the SWRevealViewController in my login view controller so users cannot bypass it using…
Ray White
  • 297
  • 4
  • 19
3
votes
7 answers

SWRevealViewController passing parameters

Passing parameters from one ViewController to other ViewController through a SWRevealViewController. This is not about passing parameter between Front Controller and Rear Controller, but from another ViewController (firstViewController) to the…
My1
  • 199
  • 1
  • 10
3
votes
1 answer

SWRevealViewController open event

I use SWRevealViewController as left slide menu in my App. I would like to detec when the menu is reveal in my ViewController. How can I do this?
AYMADA
  • 889
  • 3
  • 17
  • 37
3
votes
1 answer

Passing data from login controller to frontviewcontroller of SWRevealViewController

I'm sorry for my english. My question is how to pass a data from a login viewcontroller to frontviewcontroller of the SWRevealViewController library. Let me explain my situation. My app has a login view. If the login informations are ok you can…
3
votes
2 answers

Disable user interaction but allow tap gesture in UIViewController

I would like to disable the user interaction on the entire view but also allow the tap gesture on the view. Let say there is a menu above the main view and if the user taps on the main view again the rear menu disappears. However all other…
andreaspfr
  • 2,298
  • 5
  • 42
  • 51