UIView+EasyFrame.h 524 B

12345678910111213141516171819
  1. //
  2. // UIView+EasyFrame.h
  3. // MLMSegmentPage
  4. //
  5. // Created by my on 2017/2/4.
  6. // Copyright © 2017年 my. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @interface UIView (EasyFrame)
  10. @property (nonatomic, assign) CGFloat x;
  11. @property (nonatomic, assign) CGFloat y;
  12. @property (nonatomic, assign) CGFloat width;
  13. @property (nonatomic, assign) CGFloat height;
  14. @property (nonatomic, assign) CGSize size;
  15. @property (nonatomic, assign) CGPoint origin;
  16. @property (nonatomic, assign, readonly) CGFloat bottomFromSuperView;
  17. @end