kirkbyo / dropper Goto Github PK
View Code? Open in Web Editor NEWCustomizable Swift Dropdown Menu
License: MIT License
Customizable Swift Dropdown Menu
License: MIT License
Hi
I'm noticing something strange. When the orientation is landscape and you tab to open the dropper. After the dropper is opened, if you decide to change the orientation back to portrait, you can see the table view misplaced. I'm not sure what is causing this but wanted to mention it.
Please find the attached screenshots
First, thank you so much for this project, it was desperately needed in my project - most of the other controls didn't fit my needs.
One feature I would love to see is an optional preselected item with a check mark or bullet so when the table view appears, there is an indication of what is currently selected. It could either be an Int index or the contents to match the delegate.
Ability to set the horizontal alignment of the dropdown. For example set weather the dropdown is displayed under or on top of the button.
Is there way to use this at UIBarButtonItem
?
showWithAnimation
parameter button
can't accept UIBarButtonItem
.
Is there any possible way to dynamically set height
based on items' number ?
dropper = Dropper(width: 52, height: dymanicHeight)
I wrote Dropper ~9 months ago and looking back at the codebase now I would do several things differently. With the current Dropper, there are a couple bugs that involve positioning of the Dropper menu and it also not being added to the view. These issues are happening because of the way that Dropper is built.
I hope to resolve all these issues in Dropper 3.0 with a complete rewrite. Wish list for this update:
If you have any questions, concerns or suggestions regarding this update please comment on this issue or send me a message on twitter (@kirkbyo_)
i followed the instructions to the word and it didn't work
then i tried some other variations and it didn't work as well
no need for code because i'm doing what you wrote
the framework looks great! i really hope to use it
thanks :)
I wanted to try it out, but I couldn't use the 'pod try' method. I got this error:
[!] Invalid `Podfile` file: [!] Unsupported options `{:exclusive=>true}` for target `Dropper_Example`..
# from /private/var/folders/s2/z2qw2c912dn6yxf1swvcmlk80000gn/T/CocoaPods/Try/Dropper/Example/Podfile:4
# -------------------------------------------
#
> target 'Dropper_Example', :exclusive => true do
# pod "Dropper", :path => "../"
# -------------------------------------------
I have a UIImageView that receives a gesture on touch, I would like to show the drop down menu using the UIImageView but Dropper only accepts to pass button as parameter.
Any clue
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.