123456789101112131415161718192021222324252627 |
- //
- // UILabel+RightAndLeft.h
- // smartRhino
- //
- // Created by tederen on 2019/11/28.
- // Copyright © 2019 tederen. All rights reserved.
- //
- #import <UIKit/UIKit.h>
- NS_ASSUME_NONNULL_BEGIN
- @interface UILabel (RightAndLeft)
- //两端对齐
- - (void)textAlignmentLeftAndRight;
- //指定Label以最后的冒号对齐的width两端对齐
- - (void)textAlignmentLeftAndRightWith:(CGFloat)labelWidth;
- @end
- NS_ASSUME_NONNULL_END
|