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

Black screen when changing root view controller in AppDelegate

I am trying to change the root view controller from the app delegate's didFinishLaunchingWithOptions, depending on whether the user is logged in or not. Once I get past this condition, I am using the following code to change root view…
rodrigochousal
  • 401
  • 4
  • 19
3
votes
1 answer

Swift - SWRevealViewController menu placed after the status bar

I'm using SWRevealViewController menu and I have a header view for the table. You can see the table controller view structure and constrains: And this is how my menu looks like but I need it to be like I tried : self.profileHeader.frame =…
NST
  • 115
  • 10
3
votes
1 answer

Hide SWRevealViewController from sidebar menu

I'm using SWRevealViewController to have a sidebar menu in my app. It works great and hides whenever you touch outside of it, however, I want to be able to hide it if a user presses a UIButton inside the sidebar menu. Any idea how to go about doing…
Z-Man Jones
  • 187
  • 1
  • 12
3
votes
1 answer

View Controller doesn't dealloc when perform segue

I have a problem in my apps that its memory increase constantly. So here is my app structure. I am using SWrevealViewController for slidemenu. Slidemenu - View Controller A - View Controller B - View Controller C My View Controller A…
3
votes
2 answers

Gradient colour not applying to SWReveal view controller content view

I am working on the SWReveal view controller content view as gradient layer. I tried to set the content layer as gradient layer but it is not working. And i write code in SWReveal view controller.m file and the method is - (void)loadView. Here my…
Ramakrishna
  • 712
  • 8
  • 26
3
votes
1 answer

SWRevealViewController is getting nil after returning back through segue?

In loginVC i have created a button on clicking it, it goes to main tabbarcontroller thru segue like this.. @IBAction func btnLoginPressed(sender: AnyObject) { self.performSegueWithIdentifier("logintoMain", sender: self) } is succesfully goes…
PRADIP KUMAR
  • 489
  • 1
  • 9
  • 31
3
votes
2 answers

Opening a side menu on click on a TAB bar in SWIFT

I want to make something like below snapshots. When I click on profile tab bar instead of opening a new view controller it shows a side menu. Is it something that has been handled on click of tabbar ?
Sam
  • 452
  • 5
  • 15
3
votes
1 answer

Xamarin - error building a binding library Messaging.g.cs

Having issues building a binding library for Xamarin.iOS. Basically I need to build it to reference the dll into a separate project. Here my example project. The issue is the auto generated Messaging.g.cs appears to error and finishes mid…
o-o-awake-o-o
  • 397
  • 1
  • 3
  • 18
3
votes
0 answers

SWRevealViewController misplaced constraints on swipe

I've added SWRevealViewController into the app and almost everything's fine! There is only one issue. If revealViewController is shown on "Swipe left" then constraints misplaced. If revealViewController is shown on "TouchUpInside" event then…
3
votes
2 answers

Purpose of forward class declaration of self?

I'm looking through the code for SWRevealViewController, a popular library/cocoapod and in the SWRevealViewController.h I noticed the following: @class SWRevealViewController; I know when to use forward class declarations of headers in other header…
arc4randall
  • 3,275
  • 3
  • 27
  • 40
3
votes
1 answer

Segue a ViewController over the top of SWRevealViewController side menu

I have implemented the SWRevealViewController into my app to give my app a nice side menu. My main (home) screen for the app is TableViewController.swift - this is also the only place you can access the side menu from. The side menu all works…
Nick89
  • 2,948
  • 10
  • 31
  • 50
3
votes
1 answer

How do I use SWRevealViewController with unwind segues?

I have a sequence of views that are pushed on top of each other on a Navigation Controller. I would like to do two things with these views: To open the Rear menu view from all of them; To be able to navigate back the stack using Unwind segues. I…
Felipe Ferri
  • 3,488
  • 2
  • 33
  • 48
3
votes
1 answer

SWRevealViewController won't work after I go to the child of view controller and go back to the previous view controller

I'm working with SWRevealViewController. And I've fully implemented through application slide out main menu. But when I go to one VC which has a child from which I can go back, the self.revealViewController() returns nil for previous/parent VC. And…
matt koder
  • 117
  • 12
3
votes
4 answers

SWRevealViewController version 2.4.0 segue not working ios

In the previous version of SWRevealViewController I was creating a segue of SWRevealViewControllerSegue class and in the prepareforSegue I used the following code. #pragma mark - Navigation - (void) prepareForSegue: (UIStoryboardSegue *) segue…
abhimuralidharan
  • 5,752
  • 5
  • 46
  • 70
3
votes
1 answer

navigating from uitableviewcell to multiple uinavigationcontroller using swrevealviewcontroller

I am new to swift language and start to creating stub application having sliding menu. I used tutorial from http://www.appcoda.com/sidebar-menu-swift/ to create slide menu but want to create application which is dynamic not static as shown in…