mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-10 16:29:55 +00:00
git-subtree-dir: submodules/LegacyComponents git-subtree-mainline: 608630530451e02e5aec48389d144dbf7a3625b9 git-subtree-split: d5594346161c1b7f203d1e87068bbe77bcaac019
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
|