ViewController+MASAdditions.h 1.0 KB

1234567891011121314151617181920212223242526272829
  1. //
  2. // UIViewController+MASAdditions.h
  3. // Masonry
  4. //
  5. // Created by Craig Siemens on 2015-06-23.
  6. //
  7. //
  8. #import "MASUtilities.h"
  9. #import "MASConstraintMaker.h"
  10. #import "MASViewAttribute.h"
  11. #ifdef MAS_VIEW_CONTROLLER
  12. @interface MAS_VIEW_CONTROLLER (MASAdditions)
  13. /**
  14. * following properties return a new MASViewAttribute with appropriate UILayoutGuide and NSLayoutAttribute
  15. */
  16. @property (nonatomic, strong, readonly) MASViewAttribute *mas_topLayoutGuide NS_DEPRECATED_IOS(8.0, 11.0);
  17. @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomLayoutGuide NS_DEPRECATED_IOS(8.0, 11.0);
  18. @property (nonatomic, strong, readonly) MASViewAttribute *mas_topLayoutGuideTop NS_DEPRECATED_IOS(8.0, 11.0);
  19. @property (nonatomic, strong, readonly) MASViewAttribute *mas_topLayoutGuideBottom NS_DEPRECATED_IOS(8.0, 11.0);
  20. @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomLayoutGuideTop NS_DEPRECATED_IOS(8.0, 11.0);
  21. @property (nonatomic, strong, readonly) MASViewAttribute *mas_bottomLayoutGuideBottom NS_DEPRECATED_IOS(8.0, 11.0);
  22. @end
  23. #endif