check to ensure this hasn't been created.
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
8201b8fad4
commit
ce66b2466e
@ -42,6 +42,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
-(void) setup {
|
-(void) setup {
|
||||||
|
if (self.loader) { return; }
|
||||||
self.loader = [[VDSLoader alloc] init];
|
self.loader = [[VDSLoader alloc] init];
|
||||||
[self addSubview: self.loader];
|
[self addSubview: self.loader];
|
||||||
[NSLayoutConstraint pinViewToSuperview:self.loader useMargins:false];
|
[NSLayoutConstraint pinViewToSuperview:self.loader useMargins:false];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user