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
This commit is contained in:
16
YuMi/Tools/NSTextAttachment/NSTextAttachment+MSImage.h
Normal file
16
YuMi/Tools/NSTextAttachment/NSTextAttachment+MSImage.h
Normal file
@@ -0,0 +1,16 @@
|
||||
//
|
||||
// NSTextAttachment+MSImage.h
|
||||
// YuMi
|
||||
//
|
||||
// Created by duoban on 2024/5/17.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface NSTextAttachment (MSImage)
|
||||
@property(nonatomic,copy) NSString *imageName;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
17
YuMi/Tools/NSTextAttachment/NSTextAttachment+MSImage.m
Normal file
17
YuMi/Tools/NSTextAttachment/NSTextAttachment+MSImage.m
Normal file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// NSTextAttachment+MSImage.m
|
||||
// YuMi
|
||||
//
|
||||
// Created by duoban on 2024/5/17.
|
||||
//
|
||||
|
||||
#import "NSTextAttachment+MSImage.h"
|
||||
#import <objc/runtime.h>
|
||||
@implementation NSTextAttachment (MSImage)
|
||||
-(NSString *)imageName{
|
||||
return objc_getAssociatedObject(self, @"kTextAttachmentImageName");
|
||||
}
|
||||
-(void)setImageName:(NSString *)imageName{
|
||||
objc_setAssociatedObject(self, @"kTextAttachmentImageName", imageName, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
|
||||
}
|
||||
@end
|
Reference in New Issue
Block a user