// // UIColor+MMPopup.h // MMPopupView // // Created by Ralph Li on 9/6/15. // Copyright © 2015 LJC. All rights reserved. // #import @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