Giter Site home page Giter Site logo

phairviewcontroller's People

Contributors

taphuochai avatar vinhnx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phairviewcontroller's Issues

max row count

2014-06-24 7 02 50

In screen shot, session =1 rows = 10

but, session 7, 8 after no click problem.

max row count in one section?

How to add navigation bar and bar button like AIRBNB app

First, thanks for the amazing side menu source code.

I have added a button to menu view controller which is a subclass of PHAirViewController.
When I tap on the button, its action method not getting called.
I need the menu view controller exactly like airbnb app. Attached the screenshot for your reference.
i.e I need a navigation bar and a signup/signin button.
Please suggest.
img_0978

Swipe to close menu

When I have the left menu open and want to close it with the effect of as I drag slowly it also closes slowly, I am trying to swipe from right to left to close it, like the airbnb app. Can you assist, please?

App Crashes when Home Button is pressed

When i used UITableViewController in UINavigationStack, it worked fine in foreground. But loading a UITableViewController and then unLoad UITableViewController. Now pressing iPhone Home Button crashed the application with this error:
[UITableViewController applicationWillSuspend]: message sent to deallocated instance.

Now, tell me what to do with this?

Remove Multiple sections

Right now there is an endless scroll of menu items, I am trying to make it so that I only have one set of menu items and it does not scroll to multiple ones. Can you please assist?

Could we have iPad support?

Hi, PHAirViewController was assume. Actually, I was planing to use it in my universal app. Is it possible to make it supported with iPad in both orientation?

Cocoapods not working

Hi, this is a good project. Thanks!
I tried to use cocoapods to integrate PHAirView into my project.
However, when I "pod install" from my command line tool, it shows "Unable to find a specification for PHAirView depended upon by Podfile".
I went to the official site of Cocoapods and couldn't find PHAirView there.
Would you willing to take a look at that?
Thanks in advance.

numberOfSession is 1, not change view.

In Demo2, PHMenuViewController.m,

if numberOfSession is 1, buttons(Row 0 in 0, Row 1 in 0...) of left view, is not operated.

not change color of PHViewController.

In case of 2 is operate properly.

In case of 2, catch breakpoint in rowDidTouch method but
case 1 can not catch breakpoint in rowDidTouch method.

Crash on UIAlertView closing

I can't say in which cases it happend but closing shown UIAlertView causes crash with PHAirViewController in a project.

UIAlertView *dialog = [[UIAlertView alloc] initWithTitle:@"Title" message:nil
                      delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil];
[dialog show];

Back to root view problem

Thank you very much for the side menu source code.

I've added a ViewController (named: PHabcViewController), I would like to switch from root view to PHabcViewController. As you can try the attached sample project code, when I jumped from root view to PHabcViewController, it works fine. However, when I Back from PHabcViewController to root view, the project broke immediately. Would you give some advise?

I've tried the below methods to implement Back to root view, unfortunately, none of them works...

  1. [self performSegueWithIdentifier:@"jump_segue" sender:nil];
  2. [self.navigationController presentViewController:other animated:NO completion:^{}];

Appreciate if anyone can give help on this issue, many thanks!

Leave menu without using a menu item

I needed a place on the menu for my user to logout, so I added a button in the bottom right hand corner of the menu view, but the segue won't work to go to the login screen. How can I leave the menu and go to another view without using a menu item?

Thanks

LastIndexInSession has a wrong value

Easy bug:
lastIndexInSession[@(currentIndexSession)] = @(button.superview.tag);
it should be instead:
lastIndexInSession[@(currentIndexSession)] = @(button.tag);

Otherwise, you store the sessionIndex-> sessionIndex

Crash with textfield

Everything works fine until I go a viewcontroller that has a text filed with a toolBar, as following code. I type something in the textfield and resignFirstResponder and click on the textfield again, app crash. But if i comment [MyTextField setInputAccessoryView:toolBar]; the app doesn't crash, any idea about the problem?

UIToolbar *toolBar=[[UIToolbar alloc]init];
[toolBar setBarStyle:UIBarStyleBlackTranslucent];
[toolBar sizeToFit];

// UIBarButtonItem *flexButton=[[UIBarButtonItem alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemCancel target:self action:nil];
//
// UIBarButtonItem *doneButton=[[UIBarButtonItem alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(resignKeyboard)];
//
// NSArray *itemsArray=[NSArray arrayWithObjects:flexButton,doneButton, nil];
// [toolBar setItems:itemsArray];

[MyTextField setInputAccessoryView:toolBar];

Landscape orientation

When changing the screen orientation, PHAirViewController is not adjusting position

Right navigation menu support

Is there a way to support right navigation menu with minimal code changes? When user tap on right navigation menu, the main screen will slide to left and show the menu on right.

Please suggest.

How programatically go from right view controller to next view controller in left side view

Hi Please help me to solve this problem

I selected first button 1 in session1. It show a viewcontroller. From that viewcontroller i want to go button 1 in session 1' s view controller without opening to left view, after that i open left then button 2 in session 1 must be selected.
screen shot

When app lunch row 1 in 0 was selected as default, i want change that to row2 in 0 or row 1 in 1 depence on user condition, every time First view controller selected as default. How to change this to another (second view controller as selected and set row 1 in 0 as hilighted ). Please help me to solve this problem. i'm not an experienced developer in ios

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.