Skip to content

Commit

Permalink
Removed unused method didRecieveMemoryWarningNotification
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasiturbide committed Apr 25, 2014
1 parent bc9f231 commit 3570c0b
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions BButton/Classes/BButton.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ @interface BButton ()
- (void)setup;
- (void)setTextAttributesForStyle:(BButtonStyle)aStyle;

- (void)didRecieveMemoryWarningNotification:(NSNotification *)notification;

- (NSString *)stringFromFontAwesomeIcon:(FAIcon)icon;

+ (UIColor *)colorForButtonType:(BButtonType)type style:(BButtonStyle)style;
Expand Down Expand Up @@ -59,10 +57,6 @@ - (void)setup
_shouldShowDisabled = YES;
_buttonStyle = BButtonStyleBootstrapV3;
[self setType:BButtonTypeDefault];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(didRecieveMemoryWarningNotification:)
name:UIApplicationDidReceiveMemoryWarningNotification
object:nil];
}

- (void)setTextAttributesForStyle:(BButtonStyle)aStyle
Expand Down Expand Up @@ -152,9 +146,6 @@ - (void)dealloc
{
_color = nil;
_buttonCornerRadius = nil;
[[NSNotificationCenter defaultCenter] removeObserver:self
name:UIApplicationDidReceiveMemoryWarningNotification
object:nil];
}

#pragma mark - Class initialization
Expand Down Expand Up @@ -250,13 +241,6 @@ - (void)setShouldShowDisabled:(BOOL)show
}
}

#pragma mark - Notifications

- (void)didRecieveMemoryWarningNotification:(NSNotification *)notification
{
NSLog(@"%@ recieved %@", [BButton class], notification.name);
}

#pragma mark - BButton

- (void)setStyle:(BButtonStyle)style
Expand Down

0 comments on commit 3570c0b

Please sign in to comment.