A fully customizable popup style menu for iOS 😎

Overview

Guide

Check out the documentation and guides for details on how to use. (Available languages:)

What's a better way to know what PopMenu offers than some live action images? Here's to show you what you can do with PopMenu:

💪🏻 Contribute

Thank you if you are interested in contributing to the project, I appreaciate it!

Before committing any changes, please make sure to read the Contribution Guidelines first, thank you!

📗 Check Documentation

Documentation is available at https://popmenu.calic.dev/

[Join Our Slack Channel](https://join.slack.com/t/newpopmenu/shared_invite/enQtMzQ4OTExMzE0OTM1LWFhM2IxYmYxOGZmMTgzNjQxMWRiNzUyZmYwN2M4ZmQ2YWYxY2VhNWI3MDlmM2JhOTM5NjAwODlmNjQzMmVlODM)

Comments
  • Content scrollable

    Content scrollable

    ✔️ Issue Checklist

    ✍🏻 Issue Description

    Is it possible to make actions scrollable inside menu? I mean, what happens if I have many many actions?

    💻 Environment

    • iOS Version: [iOS VERSION]
    • Xcode Version: [XCODE VERSION]
    • Device(s): [INSERT DEVICE(S) HERE]
    • Simulator?: [YES] or [NO]
    enhancement 
    opened by quetool 4
  • PopMenuDefaultAction.iconWidthHeight is a static property

    PopMenuDefaultAction.iconWidthHeight is a static property

    This is a cool popup menu, I like it, and I will use it in my project. But when I add my icon image(size 18 pixel) to PopMenuDefaultAction, It looks ugly. The image is much bigger than I expected. So I looked at the source code and found a problem.

    PopMenuDefaultAction.iconWidthHeight is a static property, I think it should be automatically calculated.

    NSLayoutConstraint.activate([
                    iconImageView.widthAnchor.constraint(equalToConstant: PopMenuDefaultAction.iconWidthHeight),
                    iconImageView.heightAnchor.constraint(equalTo: iconImageView.widthAnchor),
                    iconImageView.leadingAnchor.constraint(equalTo: view.leadingAnchor, constant: PopMenuDefaultAction.iconLeftPadding),
                    iconImageView.centerYAnchor.constraint(equalTo: view.centerYAnchor)
                ])
    

    iconImageView.widthAnchor and iconImageView.heightAnchor should be automatically calculated based on the size of the image.

    Now I am using a custom PopMenuAction named PopMenuCustomAction and modifying PopMenuDefaultAction.iconWidthHeight to 18 to resolve my problem.

    Please fix this issue, Thanks.

    enhancement 
    opened by shalyf 4
  • Error when importing in a Swift Project

    Error when importing in a Swift Project

    Errors when importing the pod in a swift project, I had to manually fix your Pod

    PopMenu.m:11:9: error: 'XHRealTimeBlur.h' file not found with <angled> include; use "quotes" instead
    PopMenu.m:11:9: error: 'XHRealTimeBlur.h' file not found with <angled> include; use "quotes" instead
    MenuButton.m:10:9: error: 'POP.h' file not found with <angled> include; use "quotes" instead
    #import <POP.h>
    

    -> please remove <> and replace with ""

    opened by altagir 3
  • Error While Archive Process

    Error While Archive Process

    ✔️ Issue Checklist

    ✍🏻 Issue Description

    💻 Environment

    • iOS Version: [12]
    • Xcode Version: [10]
    • Device(s): [INSERT DEVICE(S) HERE]
    • Simulator?: [YES] or [NO]
    opened by lendra85 3
  • Fix Xcode 13 builds

    Fix Xcode 13 builds

    Checklist

    • [x] I've tested my changes.
    • [x] I've read the Contribution Guidelines.
    • [x] I've updated the documentation if necessary.

    Motivation and Context

    Even though docs say not to update minimum target; with Xcode 13, builds are failing due to @available attribute on Haptic enum. Issue seen below. #67 #66

    Description

    • updated deployment target on project to iOS 10.0
    • updated podspec to reflect this change
    • removed @available attribute on haptic file
    opened by jopache 2
  • Dismiss PopMenu Programmatically

    Dismiss PopMenu Programmatically

    ✔️ Issue Checklist

    ✍🏻 Issue Description

    How to dismiss PopMenu programmatically? I am using PopMenuManager to show menu.

    💻 Environment

    • iOS Version: 13.5
    • Xcode Version: 11.5
    • Device(s): Simulator
    • Simulator?: ☑️ or ❌
    opened by BBITSDev 2
  • Set Item's Selection Style to none

    Set Item's Selection Style to none

    ✔️ Issue Checklist

    ✍🏻 Issue Description

    💻 Environment

    • iOS Version: iOS11
    • Xcode Version: 10.3
    • Device(s): [iPhone 6 and above]
    • Simulator?: ☑️

    How can I remove the dark background of an item when the user de-selecting it? Or remove all the style of the item selection

    Screen Shot 2019-08-21 at 1 40 22 AM
    opened by nrshoudi 2
  • Customize location

    Customize location

    ✔️ Issue Checklist

    ✍🏻 Issue Description

    It is a very nice pop up menu, however, looks like the position is sticked to the center of the screen rather than being customized. It would be good if this can be an option. e.g. on the right top corner right below the navigation bar.

    💻 Environment

    • iOS Version: [iOS VERSION]
    • Xcode Version: [XCODE VERSION]
    • Device(s): [INSERT DEVICE(S) HERE]
    • Simulator?: ☑️ or ❌
    opened by xSci 2
  • Swift5 compatibility

    Swift5 compatibility

    Checklist

    • [x] I've tested my changes.
    • [x] I've read the Contribution Guidelines.
    • [x] I've updated the documentation if necessary.

    Motivation and Context

    It is for installing in an environment using Xcode 10.2 and Swift 5.

    Description

    Updated support version to Xcode 10.2 and Swift 5.

    enhancement 
    opened by AkkeyLab 2
  • 是否可以设置偏移,因为我不想PopMenu挡住Button的位置:UIBarButtonItem

    是否可以设置偏移,因为我不想PopMenu挡住Button的位置:UIBarButtonItem

    ✔️ Issue Checklist

    ✍🏻 Issue Description

    💻 Environment

    • iOS Version: [iOS VERSION] IOS 11 Swift 4.2
    • Xcode Version: [XCODE VERSION] XCode 10.1
    • Device(s): [INSERT DEVICE(S) HERE]
    • Simulator?: ☑️ or ❌
    opened by China77 2
  • can't set PopMenuActionColor

    can't set PopMenuActionColor

    ✔️ Issue Checklist

    ✍🏻 Issue Description

    this code is invalid since actionColor is an object and can't be set manager.popMenuAppearance.popMenuColor.actionColor = .green

    💻 Environment

    • iOS Version: [iOS VERSION]
    • Xcode Version: [XCODE VERSION] 10.1
    • Device(s): [INSERT DEVICE(S) HERE]
    • Simulator?: ☑️
    opened by galblank 2
  • Add support for specifying max width

    Add support for specifying max width

    Checklist

    • [x] I've tested my changes.
    • [x] I've read the Contribution Guidelines.
    • [x] I've updated the documentation if necessary.

    Motivation and Context

    Wanted more control over the width of the menu; Also fixes #33

    Description

    Added a property in PopMenuAppearance that allows you to set the minimum width the menu should try to maintain. Setting it to nil or .none will revert to the old implementation.

    opened by FaizanDurrani 0
  • Add Feature For Border Color

    Add Feature For Border Color

    ✔️ Issue Checklist

    ✍🏻 Issue Description

    💻 Environment

    • iOS Version: [iOS VERSION]
    • Xcode Version: [XCODE VERSION]
    • Device(s): [INSERT DEVICE(S) HERE]
    • Simulator?: ☑️ or ❌
    opened by dhvl1729 0
  • Xcode 13.0 Enum cases with associated values cannot be marked potentially unavailable with '@available'

    Xcode 13.0 Enum cases with associated values cannot be marked potentially unavailable with '@available'

    ✔️ Issue Checklist

    ✍🏻 Issue Description

    💻 Environment

    • iOS Version: [iOS VERSION]
    • Xcode Version: [XCODE VERSION]
    • Device(s): [INSERT DEVICE(S) HERE]
    • Simulator?: ☑️ or ❌
    opened by nobut 6
  • Xcode 13 compatibility issue - Haptics.swift

    Xcode 13 compatibility issue - Haptics.swift

    ✍🏻 Issue Description

    Errors in Haptics.swift with changes in Xcode 13.

    specifically: Enum cases with associated values cannot be marked potentially unavailable with '@available'

    Screen Shot 2021-07-23 at 11 18 38 AM

    💻 Environment

    • Xcode Version: Xcode Version 13.0 beta 3 (13A5192j)
    opened by jminutaglio 1
  • 可以支持icon 放右边吗

    可以支持icon 放右边吗

    ✔️ Issue Checklist

    ✍🏻 Issue Description

    可以支持icon 放右边吗

    opened by roycehe 0
Releases(v2.1.2)
  • v2.1.2(Jan 5, 2019)

    • Fixed unwanted carryover selection highlight state #19
    • Added dedicated toggle for whether to use PopMenuManager or PopMenuViewController to present menus
    Source code(tar.gz)
    Source code(zip)
  • v2.1.1(Sep 3, 2018)

    Fixed:

    • Content is now scrollable when there's more than 6 actions (customizable) #10
    • Each action's icon image width height sizing is now configurable, #9
    • Each action's icon image is now customizable to set different rendering mode (.alwaysOriginal, .alwaysTemplate), #8
    • Fixed incorrect views rendering when device orientation changes, thanks to @Shaun Farrel
    Source code(tar.gz)
    Source code(zip)
  • v2.1.0(Sep 3, 2018)

    Fixed:

    • Content is now scrollable when there's more than 6 actions (customizable) #10
    • Each action's icon image width height sizing is now configurable, #9
    • Each action's icon image is now customizable to set different rendering mode (.alwaysOriginal, .alwaysTemplate), #8
    • Fixed incorrect views rendering when device orientation changes, thanks to @Shaun Farrel
    Source code(tar.gz)
    Source code(zip)
  • v2.0.0(Jun 8, 2018)

  • v1.1.2(Apr 25, 2018)

  • v1.1.1(Apr 25, 2018)

  • v1.1.0(Apr 24, 2018)

    Changelog:

    • Removed the process of setting barButtonItem manually
    • Add shouldEnableHaptics option for PopMenuViewController
    • Change library module name to PopMenu, instead of NewPopMenu for CocoaPods
    • Rename handler to didSelect for each action
    • Rename dismissalHandler to didDismiss
    Source code(tar.gz)
    Source code(zip)
  • v1.0.2(Apr 17, 2018)

    Changes:

    • Fixed calling manager.addAction() will crash
    • Speed up dismissal duration from 0.143s to 0.098s
    • Added dismissalHandler for PopMenuViewController
    • Added handler for each action when initializing
    Source code(tar.gz)
    Source code(zip)
  • v1.0.1(Apr 17, 2018)

  • v1.0.0(Apr 17, 2018)

Owner
Cali Castle
Left brain Engineer and right brain Designer.
Cali Castle
A simple circle style menu.

Support CocoaPods. New at 2019.02.25 Use @property (nonatomic, assign) BOOL isOpened; can open or close RoundMenu. use -(void)setButtonEnable:(BOOL)en

zsy78191 383 Dec 21, 2022
Menu controller with expandable item groups, custom position and appearance animation written with Swift. Similar to ActionSheet style of UIAlertController.

Easy to implement controller with expanding menu items. Design is very similar to iOS native ActionSheet presentation style of a UIAlertController. As

Anatoliy Voropay 22 Dec 27, 2022
JNDropDownMenu - Easy to use TableView style dropdown menu.

Overview Swift version of https://github.com/dopcn/DOPDropDownMenu Easy to use TableView style dropdown menu. Setup The only thing you

Javal Nanda 65 Jun 27, 2021
A fully customizable container view controller to display a set of ViewControllers in a horizontal scroll view. Written in Swift.

DTPagerController This is a control for iOS written in Swift. DTPagerController is simple to use and easy to customize. Screenshots Default segmented

Tung Vo 290 Nov 13, 2022
SwiftySideMenu is a lightweight and easy to use side menu controller to add left menu and center view controllers with scale animation based on Pop framework.

SwiftySideMenu SwiftySideMenu is a lightweight, fully customizable, and easy to use controller to add left menu and center view controllers with scale

Hossam Ghareeb 84 Feb 4, 2022
A Slide Menu, written in Swift, inspired by Slide Menu Material Design

Swift-Slide-Menu (Material Design Inspired) A Slide Menu, written in Swift 2, inspired by Navigation Drawer on Material Design (inspired by Google Mat

Boisney Philippe 90 Oct 17, 2020
Slide-Menu - A Simple Slide Menu With Swift

Slide Menu!! Весь интерфейс создан через код

Kirill 0 Jan 8, 2022
EasyMenu - SwiftUI Menu but not only button (similar to the native Menu)

EasyMenu SwiftUI Menu but not only button (similar to the native Menu) You can c

null 10 Oct 7, 2022
Swift-sidebar-menu-example - Create amazing sidebar menu with animation using swift

 SWIFT SIDEBAR MENU EXAMPLE In this project I create a awesome side bar menu fo

Paolo Prodossimo Lopes 4 Jul 25, 2022
Hamburger Menu Button - A hamburger menu button with full customization

Hamburger Menu Button A hamburger menu button with full customization. Inspired by VinhLe's idea on the Dribble How to use it You can config the looks

Toan Nguyen 114 Jun 12, 2022
🔻 Dropdown Menu for iOS with many customizable parameters to suit any needs

MKDropdownMenu Dropdown Menu for iOS with many customizable parameters to suit any needs. Inspired by UIPickerView. Installation CocoaPods MKDropdownM

Max Konovalov 531 Dec 26, 2022
PagingKit provides customizable menu UI. It has more flexible layout and design than the other libraries.

PagingKit provides customizable menu & content UI. It has more flexible layout and design than the other libraries. What's this? There are many librar

Kazuhiro Hayashi 1.3k Jan 9, 2023
A paging view controller with a highly customizable menu ✨

Getting Started | Customization | Installation Features Parchment lets you page between view controllers while showing any type of generic indicator t

Martin Rechsteiner 3k Jan 8, 2023
Animated side menu with customizable UI

Side Menu Animated side menu with customizable UI. Made in Yalantis. Check this project on dribbble. Check this project on Behance. Requirements iOS 7

Yalantis 2.7k Dec 27, 2022
A simple customizable side menu written in SwiftUI.

NSideMenu Description A simple customizable side menu written in SwiftUI. Give a Star! ⭐ Feel free to request an issue on github if you find bugs or r

null 5 Oct 10, 2022
slider view for choosing categories. add any UIView type as category item view. Fully customisable

CategorySliderView Horizontal or vertical slider view for choosing categories. Add any UIView type as category item view. Fully customisable Demo Inst

Cem Olcay 353 Nov 6, 2022
iOS Slide Menu View based on Google+, iQON, Feedly, Ameba iOS app. It is written in pure swift.

SlideMenuControllerSwift iOS Slide View based on iQON, Feedly, Google+, Ameba iPhone app. Installation CocoaPods pod 'SlideMenuControllerSwift' Carth

Yuji Hato 3.3k Dec 29, 2022
A simple side menu for iOS written in Swift.

ENSwiftSideMenu A lightweight flyover side menu component for iOS with the UIDynamic's bouncing animation, UIGestures and UIBlurEffect. Allows you to

Evgeny Nazarov 1.8k Dec 21, 2022
iOS Interactive Side Menu written in Swift.

Interactive Side Menu A customizable, interactive, auto expanding and collapsing side menu for iOS written in Swift. Here are some of the ways Interac

Handsome 706 Dec 15, 2022