Latest 0.3
License MIT
Platforms ios 8.0, requires ARC



For Objective C
Go to Build Settings of your project and search for Packaging. Under it you would find Defines Module, then change it to Yes. Then build your project after.

For Swift

import PopUpMenu

var menu = PopUpButton(position: CGPointMake(0,0), frame: CGRectMake(7, 30, 35, 35), menuImage: menuIcon!, menuListTitle: ["Menu1", "Menu2", "Menu3", "Menu4"], menuIconNormal: ["Menu1", "Menu2", "Menu3", "Menu4"], menuIconHighlighted: ["Menu1H", "Menu2H", "Menu3H", "Menu4H"],  menuBackgroundImage: "", menuBackgroundHighlightedImage: "")

menu.getProperties(UIColor.blackColor().colorWithAlphaComponent(0.7), buttonTitleHighlightedColor: UIColor.whiteColor(), buttonBackgroundColor: UIColor(red: 17/255.0, green: 193/255.0, blue: 210/255.0, alpha: 1.0), buttonSeparatorColor: UIColor.darkGrayColor(), buttonFont: UIFont(name: "HelveticaNeue-Light", size: 20)!)


For Objective C

@import PopUpMenu;

PopUpButton *menu = [[PopUpButton alloc]initWithPosition:CGPointMake(0, 0) frame:CGRectMake(7, 30, 35, 35) menuImage:image menuListTitle:@[@"Menu1", @"Menu2", @"Menu3", @"Menu4"] menuIconNormal:@[@"Menu1", @"Menu2", @"Menu3", @"Menu4"] menuIconHighlighted:@[@"Menu1H", @"Menu2H", @"Menu3H", @"Menu4H"] menuBackgroundImage:@"" menuBackgroundHighlightedImage:@""];

[menu getProperties:[[UIColor blackColor] colorWithAlphaComponent:0.7] buttonTitleHighlightedColor:[UIColor whiteColor] buttonBackgroundColor:[UIColor colorWithRed:17/255.0 green:193/255.0 blue:210/255.0 alpha:1] buttonSeparatorColor:[UIColor darkGrayColor] buttonFont:[UIFont fontWithName:@"HelveticaNeue-Light" size:20]];

[self.view addSubview:menu];

Example Project

Run the Example Project to see the whole sample code on how to use the PopUpMenu pod in a project.


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

pod "PopUpMenu"


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

Latest podspec

    "name": "PopUpMenu",
    "version": "0.3",
    "summary": "A subclass on UIButton and UIViewController that provides a button that shows a PopUp Menu once it is long pressed.",
    "description": "This CocoaPod provides the ability to add a floating button in a view. Once long pressed, a customizable PopUp Menu is shown.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Oberes, Karry Raia C.": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.3"
    "platforms": {
        "ios": "8.0"
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "PopUpMenu": [

Pin It on Pinterest

Share This