Removing unused didReceiveMemoryWarning methods from view controllers.
Closes #1078
This commit is contained in:
parent
6f1ae778b8
commit
72e1180e16
|
@ -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];
|
||||
|
|
|
@ -41,10 +41,6 @@
|
|||
return [super initWithStyle:UITableViewStyleGrouped];
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
}
|
||||
|
||||
- (void)loadView {
|
||||
[super loadView];
|
||||
|
||||
|
|
|
@ -49,11 +49,6 @@
|
|||
[self adjustScreenSizes];
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
}
|
||||
|
||||
|
||||
- (IBAction)verifyChallengeAction:(id)sender {
|
||||
[self enableServerActions:NO];
|
||||
[_challengeTextField resignFirstResponder];
|
||||
|
|
|
@ -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];
|
||||
|
|
|
@ -79,12 +79,6 @@
|
|||
[self populateImageView:self.image];
|
||||
}
|
||||
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
}
|
||||
|
||||
|
||||
#pragma mark - Initializers
|
||||
|
||||
- (void)initializeBackground {
|
||||
|
|
|
@ -51,11 +51,6 @@
|
|||
self.title = NSLocalizedString(@"MESSAGE_COMPOSEVIEW_TITLE", @"");
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
}
|
||||
|
||||
|
||||
- (void)viewDidAppear:(BOOL)animated {
|
||||
[super viewDidAppear:animated];
|
||||
|
||||
|
|
|
@ -304,10 +304,6 @@ typedef enum : NSUInteger {
|
|||
self.inputToolbar.contentView.textView.editable = NO;
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
}
|
||||
|
||||
#pragma mark - Initiliazers
|
||||
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -13,12 +13,6 @@
|
|||
|
||||
@implementation PresentIdentityQRCodeViewController
|
||||
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
}
|
||||
|
||||
|
||||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -55,10 +55,6 @@ static NSString *const kUnwindToMessagesViewSegue = @"UnwindToMessagesViewSegue"
|
|||
untilCancelled:nil];
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning {
|
||||
[super didReceiveMemoryWarning];
|
||||
}
|
||||
|
||||
#pragma mark - Initializers
|
||||
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue