Merge branch 'feature/atomic_vds_loader' of https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui.git into feature/vds_batch_two

This commit is contained in:
Matt Bruce 2024-01-18 15:11:15 -06:00
commit b0c1e2521c

View File

@ -16,17 +16,37 @@
@implementation MFLoadingSpinner
- (instancetype)init {
self = [super init];
if (self) {
[self setup];
}
return self;
}
- (instancetype)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:frame];
if (self) {
self.loader = [[VDSLoader alloc] init];
[self addSubview: self.loader];
[NSLayoutConstraint pinViewToSuperview:self.loader useMargins:false];
[self setup];
}
return self;
}
- (instancetype)initWithCoder:(NSCoder *)coder {
self = [super initWithCoder: coder];
if (self) {
[self setup];
}
return self;
}
-(void) setup {
self.loader = [[VDSLoader alloc] init];
[self addSubview: self.loader];
[NSLayoutConstraint pinViewToSuperview:self.loader useMargins:false];
}
-(void)setUpCircle {
[self setSurface: UIColor.blackColor];
}