2020-02-22 15:38:54 +04:00

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