Files
real-e-party-iOS/YuMi/CustomUI/MSRTL/NSMutableAttributedString+MSRTL.h
edwinQQQ a35a711be6 chore: Initial clean commit
- Removed YuMi/Library/ (138 MB, not tracked)
- Removed YuMi/Resources/ (23 MB, not tracked)
- Removed old version assets (566 files, not tracked)
- Excluded Pods/, xcuserdata/ and other build artifacts
- Clean repository optimized for company server deployment
2025-10-09 16:19:14 +08:00

23 lines
604 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// MSRTL.h
// YuMi
//
// Created by duoban on 2024/4/11.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSMutableAttributedString (MSRTL)
/// 用来改变布局方向插入此空白字符串则转化为RTL布局
+ (NSMutableAttributedString *)createBlankAttributeToMSRTL;
/// 用来解决YYText在RTL下的bug如果昵称是阿语整个富文本宽度计算会有误在昵称前插入此空白字符串可以修正布局。“i”可以是随意字母或中文
+ (NSMutableAttributedString *)createBlankAttributeToMSLTR;
@end
NS_ASSUME_NONNULL_END