| 123456789101112131415161718192021222324252627282930313233343536 |
- //
- // YCXMenu+Extension.h
- // powerone
- //
- // Created by clouder on 2019/9/17.
- // Copyright © 2019 onecloud.ltd. All rights reserved.
- //
- #import "YCXMenu.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface YCXMenu (Extension)
- /**
- 快捷创建一个YCXMenu,简单的封装
- @param target 按钮方法的对象一般传controller的self
- @param array 组成 dic = @{@"name":按钮名字,@"image":按钮icon,@"sel":方法名string}
- 其中image 可传UIImage,可传NSString即imageName
- */
- + (void)po_showMenuWithTarget:(id)target array:(NSArray *)array;
- + (void)po_showMenuWithTarget:(id)target array:(NSArray *)array location:(CGRect)loc;
- + (void)po_showMenuWithTarget:(id)target arrayParam:(NSArray *)array location:(CGRect)loc;
- /// <#Description#>
- /// @param target <#target description#>
- /// @param array <#array description#>
- /// @param loc <#loc description#>
- /// @param width <#width description#>
- + (void)po_showMenuWithTarget:(id)target arrayParam:(NSArray *)array location:(CGRect)loc itemWidth:(CGFloat)width;
- @end
- NS_ASSUME_NONNULL_END
|