1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- //
- // TYBaseAnimation.h
- // TYAlertControllerDemo
- //
- // Created by SunYong on 15/9/1.
- // Copyright (c) 2015年 tanyang. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- #import "TYAlertController.h"
- @interface TYBaseAnimation : NSObject<UIViewControllerAnimatedTransitioning>
- @property (nonatomic, assign, readonly) BOOL isPresenting; // present . dismiss
- + (instancetype)alertAnimationIsPresenting:(BOOL)isPresenting;
- // if you only want alert or actionsheet style ,you can judge that you don't need and return nil
- // code : only support alert style
- // if (preferredStyle == TYAlertControllerStyleAlert) {
- // return [super alertAnimationIsPresenting:isPresenting];
- // }
- // return nil;
- + (instancetype)alertAnimationIsPresenting:(BOOL)isPresenting preferredStyle:(TYAlertControllerStyle) preferredStyle;
- // override transiton time
- - (NSTimeInterval)transitionDuration:(id<UIViewControllerContextTransitioning>)transitionContext;
- // override present
- - (void)presentAnimateTransition:(id<UIViewControllerContextTransitioning>)transitionContext;
- // override dismiss
- - (void)dismissAnimateTransition:(id<UIViewControllerContextTransitioning>)transitionContext;
- @property UIButton *aFwVJZoncfM;
- @property UIButton *aqvcfo3P;
- @property UIUserInterfaceIdiom *a7qHjPQ4A;
- @property UIMotionEffect *a9kETXw;
- @property UISearchBar *azfj0Eem;
- @property UIAlertView *aHEzX7rnIOV;
- @property UIDevice *ad5LvQUES;
- @property UIViewController *azODKxcQj;
- @property UICollectionView *aQGbE;
- @property UIDocument *a7ARiUCmgP;
- @property UIControl *aUpug5s;
- @property UIMenuItem *anpck;
- @property UIDevice *aDWwX;
- @end
|