123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- #import <Foundation/Foundation.h>
- #import <UIKit/UIKit.h>
- #import <QuartzCore/QuartzCore.h>
- @class CALayer,DMPageView;
- @interface UIView (Additions)
- @property (nonatomic) CGFloat left;
- @property (nonatomic) CGFloat top;
- @property (nonatomic) CGFloat right;
- @property (nonatomic) CGFloat bottom;
- @property (nonatomic) CGFloat width;
- @property (nonatomic) CGFloat height;
- @property (nonatomic) CGFloat centerX;
- @property (nonatomic) CGFloat centerY;
- @property (nonatomic, readonly) CGFloat ttScreenX;
- @property (nonatomic, readonly) CGFloat ttScreenY;
- @property (nonatomic, readonly) CGFloat screenViewX;
- @property (nonatomic, readonly) CGFloat screenViewY;
- @property (nonatomic, readonly) CGRect screenFrame;
- @property (nonatomic) CGPoint origin;
- @property (nonatomic) CGSize size;
- -(void)removeAllSubviews;
- -(void)removeViewWithTag:(NSInteger)tag;
- -(void)removeViewWithTags:(NSArray *)tagArray;
- -(void)removeViewWithTagLessThan:(NSInteger)tag;
- -(void)removeViewWithTagGreaterThan:(NSInteger)tag;
- - (UIViewController *)selfViewController;
- -(UIView *)subviewWithTag:(NSInteger)tag;
- @end
|