UIView+MJExtension.h 690 B

12345678910111213141516171819
  1. // 代码地址: https://github.com/CoderMJLee/MJRefresh
  2. // 代码地址: http://code4app.com/ios/%E5%BF%AB%E9%80%9F%E9%9B%86%E6%88%90%E4%B8%8B%E6%8B%89%E4%B8%8A%E6%8B%89%E5%88%B7%E6%96%B0/52326ce26803fabc46000000
  3. // UIView+Extension.h
  4. // MJRefreshExample
  5. //
  6. // Created by MJ Lee on 14-5-28.
  7. // Copyright (c) 2014年 小码哥. All rights reserved.
  8. //
  9. #import <UIKit/UIKit.h>
  10. @interface UIView (MJExtension)
  11. @property (assign, nonatomic) CGFloat mj_x;
  12. @property (assign, nonatomic) CGFloat mj_y;
  13. @property (assign, nonatomic) CGFloat mj_w;
  14. @property (assign, nonatomic) CGFloat mj_h;
  15. @property (assign, nonatomic) CGSize mj_size;
  16. @property (assign, nonatomic) CGPoint mj_origin;
  17. @end