From a736234662856c2ef6b157aa3e17a9b0b137a911 Mon Sep 17 00:00:00 2001 From: Giuseppe Nucifora Date: Sat, 16 Jan 2016 13:39:29 +0100 Subject: [PATCH] - fix --- Pod/Classes/GradientButton.m | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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 {