Code Monkey home page Code Monkey logo

dropdownmenu's People

Contributors

afirsraftgarrier avatar capnslipp avatar neonichu avatar nmattisson avatar pimms avatar zackslash 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  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

dropdownmenu's Issues

issue with iOS6

This control throw exception when run on iOS 6.

+[UIView animateWithDuration:delay:usingSpringWithDamping:initialSpringVelocity:options:animations:completion:]: unrecognized selector sent to class 0x155bdbc

Please fix it soon!

Preserve view controller

Hey! Amazing control. Very useful for many types of apps.
I was wondering about something that could help me a lot. If I select a child view controller(let's say A) for the container, and then I select another view controller(let's say B), I would like to know if it's possible to return to the same view controller A(using the menu) without creating a new view controller. Basically, every time I move from one view to another using the menu, a new controller appears and the old one is released. I found the DropdownMenuSegue class but because I'm quite new to objective C, I don't know how to preserve my view controllers. I need to keep them because my view controllers are in fact navigation controllers and I wouldn't like to lose the current view when I select a menu item and then come back.
Help would be much appreciated. Thanks!

Slide up

Is there a way to have the menu slide up instead of down? In my case I need the menu button to be on the bottom of the screen and have the menu slide up.

Thank you for a great control.

Navigation Issues

What if I wanted to have one of the views, say Profile, to have a button that segues into another view controller?

As of now such a concept is not possible with this project. Any chance you are currently working on that?

Showing new ViewController from View

So i have setup the menu without effort but now i wanna call another view from inside one of the menu views and i am calling either one and not been able to show anything:

[self showViewController:replay sender:self];
or
[self presentViewController:replay animated:YES completion:nil];

Any ideas on how to do that?

Hide DropDown menubar

I use this with a container view to segue between three different collection views. I want to hide the Drop down menu you when scroll up on any of my collection views, and show the dropdown menu when you scroll down? is this possible?

landscape

I noticed in the demo that it doesn't see to handle landscape mode that well. Any idea if there is a work around for this ?

nice menu!

thanks.

Does this control work without Storyboards?

Just wondering if this control will work if you don't use Storyboards...

Was trying to open the menu with this piece of code:

MyDropdownMenuController *menu = (MyDropdownMenuController *) [self parentViewController];

UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
button.frame = CGRectMake(0, 0, 30, 15);
[button setImage:[UIImage imageNamed:@"lines"] forState:UIControlStateNormal];
[button addTarget:menu action:@selector(menuButtonAction:) forControlEvents:UIControlEventTouchUpInside];

UIBarButtonItem *barButton = [[UIBarButtonItem alloc] initWithCustomView:button];
[self.navigationItem setLeftBarButtonItem:barButton];

But it gave me this error: [UINavigationController menuButtonAction:]: unrecognized selector sent to instance

Move content with menu

Is there any recommended way to have the content in the view get 'pushed down' by the menu as it opens rather than getting covered? I guess it would be akin to a drawer. Thoughts?

'interfaceOrientation' is deprecated: first deprecated in iOS 8.0

I added the files to my project manually, and I get an issue warning in 'DropdownMenuController.m' in the offset method on line 194 saying "'interfaceOrientation' is deprecated: first deprecated in iOS 8.0 ", what do I use instead?

-(CGFloat)offset {
    return UIInterfaceOrientationIsLandscape(self.interfaceOrientation) ? 20.0f : 0.0f;
}                                                          ^Error here

present second view controller in hierarchy throws exception

I'm stuck with the problem that might be easy to fix. I use DropdownMenu which leads to Table View Controller and want to present detail view controller while clicking on table cell, e.g. screenshot:

Unfortunately while clicking on table cell I get an exception:

Terminating app due to uncaught exception 'NSInvalidArgumentException', 
reason: '-[LSExploreTableViewController currentViewController]: 
unrecognized selector sent to instance 0x11e2b2c0'

Does DropdownMenu cope with nested view controllers, as navigation controller for example?

hello error pods

[!] The platform of the target Pods (iOS 4.3) is not compatible with DropdownMenu (1.0.0) which has a minimum requirement of iOS 5.0.

UINavigationController Support?

Hey! This is an amazing control but it's really disappointing how you can't use it with UINavigationController... Is there any way I can use UINavigationController with this control?

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.