Removing unused didReceiveMemoryWarning methods from view controllers.

Closes #1078
This commit is contained in:
Arek Banas 2016-02-12 16:53:08 +01:00 committed by Frederic Jacobs
parent 6f1ae778b8
commit 72e1180e16
12 changed files with 0 additions and 58 deletions

View File

@ -35,11 +35,6 @@
self.originalNavigationBarTitle = self.navigationBar.topItem.title;
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
- (void)toggleDropDown:(id)sender {
if (self.isDropDownVisible) {
[self hideDropDown:sender];

View File

@ -41,10 +41,6 @@
return [super initWithStyle:UITableViewStyleGrouped];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
}
- (void)loadView {
[super loadView];

View File

@ -49,11 +49,6 @@
[self adjustScreenSizes];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
}
- (IBAction)verifyChallengeAction:(id)sender {
[self enableServerActions:NO];
[_challengeTextField resignFirstResponder];

View File

@ -67,10 +67,6 @@ static NSString *const kScanIdentityBarcodeViewSegue = @"ScanIdentityBarcodeVi
completion:nil];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
}
- (void)setTheirKeyInformation {
self.contactFingerprintTitleLabel.text = self.thread.name;
NSData *identityKey = [[TSStorageManager sharedManager] identityKeyForRecipientId:self.thread.contactIdentifier];

View File

@ -79,12 +79,6 @@
[self populateImageView:self.image];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
}
#pragma mark - Initializers
- (void)initializeBackground {

View File

@ -51,11 +51,6 @@
self.title = NSLocalizedString(@"MESSAGE_COMPOSEVIEW_TITLE", @"");
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
}
- (void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];

View File

@ -304,10 +304,6 @@ typedef enum : NSUInteger {
self.inputToolbar.contentView.textView.editable = NO;
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
}
#pragma mark - Initiliazers

View File

@ -90,10 +90,6 @@ static NSString *const kUnwindToMessagesViewSegue = @"UnwindToMessagesViewSegue"
_addPeopleLabel.text = NSLocalizedString(@"NEW_GROUP_REQUEST_ADDPEOPLE", @"");
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
}
#pragma mark - Initializers
- (void)initializeDelegates {

View File

@ -13,12 +13,6 @@
@implementation PresentIdentityQRCodeViewController
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
}
- (void)viewDidLoad {
[super viewDidLoad];

View File

@ -58,12 +58,6 @@ static NSString *const kCodeSentSegue = @"codeSent";
[_phoneNumberTextField becomeFirstResponder];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
#pragma mark - Locale
- (void)populateDefaultCountryNameAndCode {

View File

@ -55,10 +55,6 @@ static NSString *const kUnwindToMessagesViewSegue = @"UnwindToMessagesViewSegue"
untilCancelled:nil];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
}
#pragma mark - Initializers

View File

@ -25,11 +25,6 @@ static double const STALLED_PROGRESS = 0.9;
[TSSocketManager sendNotification];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
- (void)initializeSocketStatusBar {
if (!_socketStatusView) {
_socketStatusView = [[UIProgressView alloc] initWithProgressViewStyle:UIProgressViewStyleDefault];