Files
real-e-party-iOS/YuMi/Tools/NSTextAttachment/NSTextAttachment+MSImage.m
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

18 lines
450 B
Objective-C

//
// 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