Latest 0.1.1
Homepage https://github.com/thoughtchimp/DropdownMenu
License MIT
Platforms ios 8.0, requires ARC
Authors

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

Latest podspec

{
    "name": "TCDropdownMenu",
    "version": "0.1.1",
    "summary": "A dropdown menu for iOS",
    "homepage": "https://github.com/thoughtchimp/DropdownMenu",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "ThoughtChimp": "[email protected]"
    },
    "source": {
        "git": "https://github.com/thoughtchimp/DropdownMenu.git",
        "tag": "0.1.1"
    },
    "source_files": "DropdownMenu/*.swift",
    "resources": "DropdownMenu/*.png",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true
}

Pin It on Pinterest

Share This