Latest 1.3.0
Homepage https://github.com/poos/SXPopMenu
License MIT
Platforms ios 7.1, requires ARC
Authors

PopMenu

create a popMenu(气泡菜单) for you app

!修改自https://github.com/liufengting/FTPopOverMenu 以适应工程,修改了箭头顶部的弧度

导入方法

pod ‘SXPopMenu’, ‘~>1.1.0’

pod ‘SXPopMenu’, ‘~>1.2.0’

调用

头文件#import "FTPopOverMenu.h"

.精简了大量的方法,只留下了:

/**
 *  show method with SenderFrame with imageNameArray
 *
 *  @param senderFrame    senderFrame
 *  @param menuArray      menuArray
 *  @param imageNameArray imageNameArray
 *  @param doneBlock      doneBlock
 *  @param dismissBlock   dismissBlock

 */
+ (void) showFromSenderFrame:(CGRect )senderFrame
                    withMenu:(NSArray<NSString*> *)menuArray
              imageNameArray:(NSArray<NSString*> *)imageNameArray
                   doneBlock:(FTPopOverMenuDoneBlock)doneBlock
                dismissBlock:(FTPopOverMenuDismissBlock)dismissBlock;

.添加了不带箭头的pop方法

/**
 *  show method with SenderFrame with imageNameArray
 *
 *  @param senderFrame    senderFrame
 *  @param menuArray      menuArray
 *  @param imageNameArray imageNameArray
 *  @param doneBlock      doneBlock
 *  @param dismissBlock   dismissBlock

 */
+ (void)showNoneArrowFromSenderFrame:(CGRect)senderFrame
                            withMenu:(NSArray<NSString *> *)menuArray
                      imageNameArray:(NSArray<NSString *> *)imageNameArray
                           doneBlock:(FTPopOverMenuDoneBlock)doneBlock
                        dismissBlock:(FTPopOverMenuDismissBlock)dismissBlock;

1.1.0

注意1.1.0下边是tableView默认的横线,因为录制质量原因看不清楚

img

1.2.0

img

Latest podspec

{
    "name": "SXPopMenu",
    "version": "1.3.0",
    "summary": "you can create a PopMenu for you app",
    "homepage": "https://github.com/poos/SXPopMenu",
    "license": "MIT",
    "authors": {
        "xiaoR": "[email protected]"
    },
    "platforms": {
        "ios": "7.1"
    },
    "source": {
        "git": "https://github.com/poos/SXPopMenu.git",
        "tag": "1.3.0"
    },
    "source_files": "SXPopMenu/**/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This