Latest 0.1.4
Homepage https://github.com/Insofan/HXDropMenu
License MIT
Platforms ios 8.0
Dependencies Masonry
Frameworks UIKit
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

HXDropMenu is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "HXDropMenu"

Preview

PRVGn.gif

Usage

  1. Set table titles
//Table data
//下拉列表的数据
NSArray *titles = @[@"First", @"Second", @"Third", @"Fourth", @"Fifth",@"Sixed", @"Seventh", @"Eighth"];

2.Init HXDropMenu

//Init HXDropMenu
//初始化HXDropMenu
HXDropMenu *menuView = [[HXDropMenu alloc] initWithFrame:CGRectMake(0, 0,100, 44) titles:titles];
//Set width
menuView.width = 400;    
self.navigationItem.titleView = menuView;

Author

Insofan, [email protected]

License

HXDropMenu is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "HXDropMenu",
    "version": "0.1.4",
    "summary": "My drop menu.",
    "description": "Drop menu framework.",
    "homepage": "https://github.com/Insofan/HXDropMenu",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Insofan": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Insofan/HXDropMenu.git",
        "tag": "0.1.4"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "HXDropMenu/Classes/**/*",
    "resource_bundles": {
        "HXDropMenu": [
            "HXDropMenu/Assets/**/*"
        ]
    },
    "frameworks": "UIKit",
    "dependencies": {
        "Masonry": []
    }
}

Pin It on Pinterest

Share This