UIView+RecursiveDescription.h 649 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // UIView+RecursiveDescription.h
  3. // iOS-Categories (https://github.com/shaojiankui/iOS-Categories)
  4. //
  5. // Created by Jakey on 14/12/15.
  6. // Copyright (c) 2014年 www.skyfox.org. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @interface UIView (RecursiveDescription)
  10. /**
  11. * @brief 打印视图层级
  12. *
  13. * @return 打印视图层级字符串
  14. */
  15. -(NSString*)recursiveView;
  16. /**
  17. * @brief 打印约束
  18. *
  19. * @return 打印约束字符串
  20. */
  21. -(NSString*)constraintsDescription;
  22. /**
  23. * @brief 打印整个autolayout树的字符串
  24. *
  25. * @return 打印整个autolayout树的字符串
  26. */
  27. // -(NSString*)autolayoutTraceDescription;
  28. @end