mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-31 07:30:40 +00:00

git-subtree-dir: submodules/Display git-subtree-mainline: 9bc996374ffdad37aef175427db72731c9551dcf git-subtree-split: 7bd11013ea936e3d49d937550d599f5816d32560
14 lines
211 B
Objective-C
14 lines
211 B
Objective-C
#import "NSWeakReference.h"
|
|
|
|
@implementation NSWeakReference
|
|
|
|
- (instancetype)initWithValue:(id)value {
|
|
self = [super init];
|
|
if (self != nil) {
|
|
self.value = value;
|
|
}
|
|
return self;
|
|
}
|
|
|
|
@end
|