diff --git a/Pod/Classes/GradientButton.m b/Pod/Classes/GradientButton.m index 07e4ef5..832701e 100644 --- a/Pod/Classes/GradientButton.m +++ b/Pod/Classes/GradientButton.m @@ -69,18 +69,8 @@ [_checkoutButton.layer insertSublayer:checkoutButtonViewGradient atIndex:0]; */ -- (void) layoutIfNeeded { - NSLog(@"layout"); -} -- (void) updateConstraints { - - if (!self.didUpdateConstraints) { - - self.didUpdateConstraints = YES; - } - [super updateConstraints]; -} + - (void) setbackgroundLayerWithColors:(NSArray *) colors startPoint:(CGPoint) startPoint {