mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
28 lines
450 B
Objective-C
28 lines
450 B
Objective-C
#import "TGPhotoPaintEntity.h"
|
|
|
|
@implementation TGPhotoPaintEntity
|
|
|
|
- (instancetype)init
|
|
{
|
|
self = [super init];
|
|
if (self != nil)
|
|
{
|
|
arc4random_buf(&_uuid, sizeof(NSInteger));
|
|
}
|
|
return self;
|
|
}
|
|
|
|
- (instancetype)copyWithZone:(NSZone *)__unused zone
|
|
{
|
|
return nil;
|
|
}
|
|
|
|
- (instancetype)duplicate
|
|
{
|
|
TGPhotoPaintEntity *entity = [self copy];
|
|
arc4random_buf(&entity->_uuid, sizeof(NSInteger));
|
|
return entity;
|
|
}
|
|
|
|
@end
|