UIView(NYS) Category Reference

Declared in UIView+NYS.h
UIView+NYS.m

  borderColor

边线颜色

@property (nonatomic, strong) IBInspectable UIColor *borderColor

Discussion

边线颜色

Declared In

UIView+NYS.h

  borderWidth

边线宽度

@property (nonatomic, assign) IBInspectable CGFloat borderWidth

Discussion

边线宽度

Declared In

UIView+NYS.h

  cornerRadius

圆角半径

@property (nonatomic, assign) IBInspectable CGFloat cornerRadius

Discussion

圆角半径

Declared In

UIView+NYS.h

+ showLoadingWithTintColor:

显示加载动画(毛玻璃效果) - Parameter tintColor: 指示器颜色

+ (UIView *)showLoadingWithTintColor:(UIColor *)tintColor

Discussion

显示加载动画(毛玻璃效果) - Parameter tintColor: 指示器颜色

Declared In

UIView+NYS.h

+ showLoadingWithImage:

显示加载动画 - Parameter image: 自定义旋转图

+ (UIView *)showLoadingWithImage:(UIImage *)image

Discussion

显示加载动画 - Parameter image: 自定义旋转图

Declared In

UIView+NYS.h

– addTapActionWithBlock:

添加点击事件

- (void)addTapActionWithBlock:(NYSTapActionBlock)block

Discussion

添加点击事件

Declared In

UIView+NYS.h