Git Product home page Git Product logo

nidropdown's People

Contributors

bijeshnair avatar njawahire 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

nidropdown's Issues

Selecting row gives different output.

While selecting row from tableview it gives output for another index. Using same code in different controllers one is working fine another don't.
Thanks in advance..!!

a little bug on button background image

it will lose the background image when i set up the button background image.
you’re remove all images in subviews ,include backgroud image
:
//下拉菜单支持图标,如果有图标的话,先删除图标,然后加载选择项的图标
//但是,如果button有背景图片的话,这里也将会删除背景图片
for (UIView *subview in btnSender.subviews) {
if ([subview isKindOfClass:[UIImageView class]]) {
//修复:重置按钮时,会删除设置的背景图片
UIImageView * thisImageView = (UIImageView *)subview;
if (![thisImageView.image isEqual:[btnSender backgroundImageForState:UIControlStateNormal]]) {
[subview removeFromSuperview];
}

    }
}

Click Focus

Would be awesome if you could build in functionality to allow uses to click outside of the drop down like a popup view to close it.

have a bug!!!

I can't hit the UITabelView when some others controls below it.

Demo not working

2013-03-15 09:52:47.304 NIDropDown[13870:c07] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Requesting the window of a view (<NIDropDown: 0x753f870; frame = (0 0; 0 0); transform = [0, 0, 0, 0, 0, 0]; alpha = 0; opaque = NO; layer = (null)>) with a nil layer. This view probably hasn't received initWithFrame: or initWithCoder:.'

*** First throw call stack:
(0x1c95012 0x10d2e7e 0x1c94deb 0x602fc 0x62567 0x68af4 0x60eed 0x3047 0x4611 0x10e6705 0x1d920 0x1d8b8 0xde671 0xdebcf 0xddd38 0x4d33f 0x4d552 0x2b3aa 0x1ccf8 0x1bf0df9 0x1bf0ad0 0x1c0abf5 0x1c0a962 0x1c3bbb6 0x1c3af44 0x1c3ae1b 0x1bef7e3 0x1bef668 0x1a65c 0x1ebd 0x1de5)
libc++abi.dylib: terminate called throwing an exception

Issue with more than one dropdown

Hi There

Great control.

I have four dropdowns listed, the 4th one as example, you have to click it 3 additional times in order to get to the 4th listing.

Same goes for 3, but one less selection, then 2 etc.

Any help would be appreciated.

Iain

ARC Compatibility?

Is it possible to upgrade the project to be ARC Compatible. Love the work and effort that has gone into this.

Dropdown Selection issues.

When i click dropdown and select value it gives me value of previous selected option. I wanted to know what i am doing wrong or is there anything i am missing to do.???
screen shot 2019-02-28 at 8 43 24 pm

change method stub of show drop down

change stub to:

  • (id)showDropDown:(UIButton *)b theHeight:(CGFloat *)height theArr:(NSArray *)arr theImgArr:(NSArray *)imgArr theDirection:(NSString *)direction;

then when you instantiate it:
dropDown = [NIDropDown new];
dropDown = [dropDown showDropDown:sender theHeight:&f theArr:arr theImgArr:arrImage theDirection:@"down"];

Drop Down or Drop Up

Would be cool to all the user to specify if the drop down can be drop down or drop up as sometimes buttons are placed on the bottom of the screen and there is not enough space to drop down...

Think this might be a duplicate...

Images in the drop down

Would be cool if this could happen.

I know you use a programmatically generated UITable to create the drop down but easily exposing the methods would maje it much more user friendly. :)

Keep the good work up. I know I will be using this much more.

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.