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

SWRevealViewController setting a delegate on the target ViewController

I'm having trouble identifying the destinationViewController using the SWRevealViewController On certain ViewControllers I have used the prepareForSegue method to identify the destination as follows: - (void)prepareForSegue:(UIStoryboardSegue…
Linda Keating
  • 2,215
  • 7
  • 31
  • 63
0
votes
2 answers

Assertion failure in -[SWRevealView layoutSublayersOfLayer:]

*The difference from the suggested question is that I'm not using containsString: directly, but need to find where it is used. On iOs 7 I'm getting an error: 2015-09-08 20:23:06.577 MyProject[2161:607] *** Assertion failure in -[SWRevealView…
0
votes
1 answer

NavigationBar hides on the 2nd time I'm opening viewController (SWRevealViewController in)

I've strange trouble with swRevealViewController. I have 3 VC. On each of them I have navigationBar and item in it in left side which opens sideBarMenu. And trouble happens when I'm opening root view controller at second time - navigation bar…
SwiftStudier
  • 2,272
  • 5
  • 21
  • 43
0
votes
1 answer

Back Button not present in SWRevealViewController

How to add back button to the original View controller in SWRevealViewController? I've checked these and Tried them both didn't works: Slide Out Menu without a back Button Swift Custom Back Button and Destination
marrioa
  • 1,265
  • 4
  • 14
  • 29
0
votes
3 answers

How to pass a NSMutableArray to another view

Following code fragment is part of the prepareForSegue method. In that I want to pass self.mutaArr (MutableArray) to SecViewController (Which is a UIViewController). This is not getting passed because of the following line: [navController…
Illep
  • 16,375
  • 46
  • 171
  • 302
0
votes
1 answer

How to make a sidebar menu like Spotify has with IOS 8

Like the iPad version. A sidebar menu always on the left and have few buttons on it. I have no clue how to make one like this. should I customise one myself? I find this tutorial http://www.appcoda.com/sidebar-menu-swift/, but on the step…
Guan Nan Yao
  • 151
  • 1
  • 1
  • 9
0
votes
2 answers

Unable to closed Sliding menu in iOS

in my application create sliding menu using SWRevealViewController when i click on uiviewcontroller sliding menu not close automatically if view controller contain tableview on other click event how can i solved this problem my code is : …
Monika Patel
  • 2,287
  • 3
  • 20
  • 45
0
votes
1 answer

Menu in Slide Menu using SWRevealViewController not working

Please find the Image which shows my project storyboard. iOS version - 6.0 and above Xcode version - 6.2 Problem -> After Login, I open slide menu and click Rewards and i navigate to "View Controller 2". Then, from "View Controller 2" i click…
TheGaME
  • 443
  • 2
  • 8
  • 21
0
votes
1 answer

SWRevealViewController does not recognize sectors for destinationViewController

I am using John Lluch's SWRevealViewController which works great, except I cannot figure out how to set selectors in the destination view controller as I do in segues for other UIViewControllers. Has anyone else encountered this problem? Here is my…
PhillipOReilly
  • 609
  • 12
  • 28
0
votes
0 answers

SWreveal View Controller and Subview

i'm currently developping an app, which allow users to use the swype gesture (slide to the left if you like or right if dont), to do it, i'm using a library (which use addSubview) but , i'm also using the SWRevealViewController, to make my side…
f1rstsurf
  • 637
  • 1
  • 6
  • 22
0
votes
1 answer

how to make viewDidLoad of SwrevealViewController call only once

i am trying to call the viewDidLoad of view controllers only once while using SWRevealViewController.I am following these tutorial and want to do a little change loading the view controllers programmatically instead of using segues.. I tried to set…
user4790024
0
votes
0 answers

Rear view controller keeps changing widths

So I would like my rear view to have a width of 260.0 (which I believe is the default), but I'm having this weird problem where the first time the rear view is shown it's at the correct width, but every time after that is a smaller width, like so:…
The Beanstalk
  • 798
  • 1
  • 5
  • 20
0
votes
2 answers

SWRevealViewController hide navigationBar for frontView

I added some code to auto display my MenuViewController (SWRevealViewController) but when I do that, my navigation bar of my front view disappear. There is the code : if (previousVC == "EditVC") { …
Michal
  • 162
  • 1
  • 14
0
votes
3 answers

SWRevealViewController push from subview

I have a LoginView and in success of login I am loading Slideout menu view (SWRevealViewController) . I am using the following to load reveal view controller with front view(Dashboard) and rear view (slidebarView) ! AppDelegate *appDelegate =…
Devang Goswami
  • 284
  • 3
  • 23
0
votes
2 answers

How to automatically launch SWRevealViewController view

I want to auto launch on my SWRevealViewController view after I've reach my view. For exemple, I'm on my SWRevealViewController and I go on an another view. If I want to go back, I want to go on my previous state : SWRevealViewController in rear…
Michal
  • 162
  • 1
  • 14