| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- //
- // UIColor+MMPopup.h
- // MMPopupView
- //
- // Created by Ralph Li on 9/6/15.
- // Copyright © 2015 LJC. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- @interface UIColor (MMPopup)
- + (UIColor *) mm_colorWithHex:(NSUInteger)hex;
- @end
- @interface UIImage (MMPopup)
- + (UIImage *) mm_imageWithColor:(UIColor *)color;
- + (UIImage *) mm_imageWithColor:(UIColor *)color Size:(CGSize)size;
- - (UIImage *) mm_stretched;
- @end
- @interface UIButton (MMPopup)
- + (id) mm_buttonWithTarget:(id)target action:(SEL)sel;
- @end
- @interface NSString (MMPopup)
- - (NSString *)mm_truncateByCharLength:(NSUInteger)charLength;
- @end
- @interface UIView (MMPopup)
- @property (nonatomic, strong, readonly ) UIView *mm_dimBackgroundView;
- @property (nonatomic, assign, readonly ) BOOL mm_dimBackgroundAnimating;
- @property (nonatomic, assign ) NSTimeInterval mm_dimAnimationDuration;
- @property (nonatomic, strong, readonly ) UIView *mm_dimBackgroundBlurView;
- @property (nonatomic, assign ) BOOL mm_dimBackgroundBlurEnabled;
- @property (nonatomic, assign ) UIBlurEffectStyle mm_dimBackgroundBlurEffectStyle;
- - (void) mm_showDimBackground;
- - (void) mm_hideDimBackground;
- - (void) mm_distributeSpacingHorizontallyWith:(NSArray*)view;
- - (void) mm_distributeSpacingVerticallyWith:(NSArray*)view;
- @end
|