mirror of
https://github.com/faroukbmiled/RyukGram.git
synced 2026-08-21 10:28:11 +02:00
modded scinsta with additional features and fixes for recent instagram version
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
//
|
||||
// JGProgressHUDShadow.m
|
||||
// JGProgressHUD
|
||||
//
|
||||
// Created by Jonas Gessner on 25.09.17.
|
||||
// Copyright © 2017 Jonas Gessner. All rights reserved.
|
||||
//
|
||||
|
||||
#import "JGProgressHUDShadow.h"
|
||||
|
||||
@implementation JGProgressHUDShadow
|
||||
|
||||
+ (instancetype)shadowWithColor:(UIColor *)color offset:(CGSize)offset radius:(CGFloat)radius opacity:(float)opacity {
|
||||
return [[self alloc] initWithColor:color offset:offset radius:radius opacity:opacity];
|
||||
}
|
||||
|
||||
- (instancetype)initWithColor:(UIColor *)color offset:(CGSize)offset radius:(CGFloat)radius opacity:(float)opacity {
|
||||
self = [super init];
|
||||
|
||||
if (self) {
|
||||
_color = color;
|
||||
_offset = offset;
|
||||
_radius = radius;
|
||||
_opacity = opacity;
|
||||
}
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user