Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

thoughtchimp/DropdownMenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DropdownMenu

Inspired by Dribbble shot

##Installation

###CocoaPods

The easiest way to get started is to use CocoaPods. Add the following line to your Podfile:

platform :ios, '8.0'
use_frameworks!
# The following is a Library of Swift.
pod 'TCDropdownMenu'

Then, run the following command:

pod install

You can set the following property. If you don't set the these property, default value is used.

let menu =  menu = DropdownMenu(item1: item1, item2: item2, item3: item3, item4: item4, otherItems:  [item5,item4,item3,item2,item4,item3,item2,item4,item3,item2], forViewController: self)

menu.textColor = UIColor.blackColor()                        // Default is UIColor.orangeColor().
menu.menuBackgroundColor = UIColor.yellowColor()              // Default is UIColor(red:0.267, green:0.157, blue:0.286, alpha:1).

For the rest of the details, refer to DropdownMenuSample project.

Licence

MIT

Author

ThoughtChimp

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages