mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
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
|