PopMenuModel.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // PopMenuModel.h
  3. // HyPopMenuView
  4. //
  5. // Created by Hy_Mac on 16/7/8.
  6. // Copyright © 2016年 ouy.Aberi. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. typedef enum : NSUInteger {
  10. PopMenuTransitionTypeSystemApi,
  11. PopMenuTransitionTypeCustomizeApi,
  12. } PopMenuTransitionType;
  13. @interface PopMenuModel : NSObject
  14. @property (nonatomic, assign) BOOL automaticIdentificationColor;
  15. @property (nonatomic, copy, nonnull) NSString* imageNameString;
  16. @property (nonatomic, copy, nonnull) NSString* titleString;
  17. @property (nonatomic, weak, nullable) UIColor* transitionRenderingColor;
  18. @property (nonatomic, weak, nullable) UIColor* textColor;
  19. @property (nonatomic, assign) PopMenuTransitionType transitionType;
  20. @property (nonatomic, readonly, retain, nonnull) UIView* customView;
  21. + (instancetype __nonnull)allocPopMenuModelWithImageNameString:(NSString* __nonnull)imageNameString
  22. AtTitleString:(NSString* __nonnull)titleString
  23. AtTextColor:(UIColor* __nonnull)textColor
  24. AtTransitionType:(PopMenuTransitionType)transitionType
  25. AtTransitionRenderingColor:(UIColor* __nullable)transitionRenderingColor;
  26. @end