UIView+HDSafeArea.h 511 B

12345678910111213141516
  1. //
  2. // UIView+HDSafeArea.h
  3. // HDCollectionView
  4. //
  5. // Created by HaoDong chen on 2019/1/22.
  6. // Copyright © 2019 CHD. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. #import "Masonry.h"
  10. @interface UIView (HDSafeArea)
  11. @property (nonatomic, strong, readonly) MASViewAttribute *hd_mas_left;
  12. @property (nonatomic, strong, readonly) MASViewAttribute *hd_mas_top;
  13. @property (nonatomic, strong, readonly) MASViewAttribute *hd_mas_right;
  14. @property (nonatomic, strong, readonly) MASViewAttribute *hd_mas_bottom;
  15. @end