-
Notifications
You must be signed in to change notification settings - Fork 186
/
PopMenuModel.h
42 lines (26 loc) · 1.27 KB
/
PopMenuModel.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//
// PopMenuModel.h
// HyPopMenuView
//
// Created by Hy_Mac on 16/7/8.
// Copyright © 2016年 ouy.Aberi. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef enum : NSUInteger {
PopMenuTransitionTypeSystemApi,
PopMenuTransitionTypeCustomizeApi,
} PopMenuTransitionType;
@interface PopMenuModel : NSObject
@property (nonatomic, assign) BOOL automaticIdentificationColor;
@property (nonatomic, copy, nonnull) NSString* imageNameString;
@property (nonatomic, copy, nonnull) NSString* titleString;
@property (nonatomic, weak, nullable) UIColor* transitionRenderingColor;
@property (nonatomic, weak, nullable) UIColor* textColor;
@property (nonatomic, assign) PopMenuTransitionType transitionType;
@property (nonatomic, readonly, retain, nonnull) UIView* customView;
+ (instancetype __nonnull)allocPopMenuModelWithImageNameString:(NSString* __nonnull)imageNameString
AtTitleString:(NSString* __nonnull)titleString
AtTextColor:(UIColor* __nonnull)textColor
AtTransitionType:(PopMenuTransitionType)transitionType
AtTransitionRenderingColor:(UIColor* __nullable)transitionRenderingColor;
@end