react-native-navigation的迁移库

UIView+Utils.h 277B

12345678910111213141516171819
  1. #import <Foundation/Foundation.h>
  2. #import <UIKit/UIKit.h>
  3. typedef NS_ENUM(NSInteger, ViewType) {
  4. ViewTypeImage,
  5. ViewTypeText,
  6. ViewTypeOther
  7. };
  8. @interface UIView (Utils)
  9. - (UIView *)findChildByClass:clazz;
  10. - (ViewType)viewType;
  11. - (void)layout:(CGFloat)p;
  12. @end