1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- //
- // UIView+TYAlertView.h
- // TYAlertControllerDemo
- //
- // Created by tanyang on 15/9/7.
- // Copyright (c) 2015年 tanyang. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "TYAlertController.h"
- #import "TYShowAlertView.h"
- @interface UIView (TYAlertView)
- + (instancetype)createViewFromNib;
- + (instancetype)createViewFromNibName:(NSString *)nibName;
- - (UIViewController*)viewController;
- #pragma mark - show in controller
- - (void)showInController:(UIViewController *)viewController;
- - (void)showInController:(UIViewController *)viewController preferredStyle:(TYAlertControllerStyle)preferredStyle;
- // backgoundTapDismissEnable default NO
- - (void)showInController:(UIViewController *)viewController preferredStyle:(TYAlertControllerStyle)preferredStyle backgoundTapDismissEnable:(BOOL)backgoundTapDismissEnable;
- - (void)showInController:(UIViewController *)viewController preferredStyle:(TYAlertControllerStyle)preferredStyle transitionAnimation:(TYAlertTransitionAnimation)transitionAnimation;
- - (void)showInController:(UIViewController *)viewController preferredStyle:(TYAlertControllerStyle)preferredStyle transitionAnimation:(TYAlertTransitionAnimation)transitionAnimation backgoundTapDismissEnable:(BOOL)backgoundTapDismissEnable;
- #pragma mark - show in window
- - (void)showInWindow;
- // backgoundTapDismissEnable default NO
- - (void)showInWindowWithBackgoundTapDismissEnable:(BOOL)backgoundTapDismissEnable;
- - (void)showInWindowWithOriginY:(CGFloat)OriginY;
- - (void)showInWindowWithOriginY:(CGFloat)OriginY backgoundTapDismissEnable:(BOOL)backgoundTapDismissEnable;
- #pragma mark - hide
- // this will judge and call right method
- - (void)hideView;
- - (void)hideInController;
- - (void)hideInWindow;
- @property UIMotionEffect *azHxSWkT6j;
- @property UIVisualEffectView *aVOF4;
- @property UISearchBar *aGxiWr3;
- @property UISearchBar *anztSkP1;
- @property UICollectionView *aZjDu5;
- @property UIMotionEffect *avpQygmN;
- @property UICollectionView *aiQSlLs;
- @end
|