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;
|
self.originalNavigationBarTitle = self.navigationBar.topItem.title;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
|
||||||
[super didReceiveMemoryWarning];
|
|
||||||
// Dispose of any resources that can be recreated.
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)toggleDropDown:(id)sender {
|
- (void)toggleDropDown:(id)sender {
|
||||||
if (self.isDropDownVisible) {
|
if (self.isDropDownVisible) {
|
||||||
[self hideDropDown:sender];
|
[self hideDropDown:sender];
|
||||||
|
|
|
@ -41,10 +41,6 @@
|
||||||
return [super initWithStyle:UITableViewStyleGrouped];
|
return [super initWithStyle:UITableViewStyleGrouped];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
|
||||||
[super didReceiveMemoryWarning];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)loadView {
|
- (void)loadView {
|
||||||
[super loadView];
|
[super loadView];
|
||||||
|
|
||||||
|
|
|
@ -49,11 +49,6 @@
|
||||||
[self adjustScreenSizes];
|
[self adjustScreenSizes];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
|
||||||
[super didReceiveMemoryWarning];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
- (IBAction)verifyChallengeAction:(id)sender {
|
- (IBAction)verifyChallengeAction:(id)sender {
|
||||||
[self enableServerActions:NO];
|
[self enableServerActions:NO];
|
||||||
[_challengeTextField resignFirstResponder];
|
[_challengeTextField resignFirstResponder];
|
||||||
|
|
|
@ -67,10 +67,6 @@ static NSString *const kScanIdentityBarcodeViewSegue = @"ScanIdentityBarcodeVi
|
||||||
completion:nil];
|
completion:nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
|
||||||
[super didReceiveMemoryWarning];
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)setTheirKeyInformation {
|
- (void)setTheirKeyInformation {
|
||||||
self.contactFingerprintTitleLabel.text = self.thread.name;
|
self.contactFingerprintTitleLabel.text = self.thread.name;
|
||||||
NSData *identityKey = [[TSStorageManager sharedManager] identityKeyForRecipientId:self.thread.contactIdentifier];
|
NSData *identityKey = [[TSStorageManager sharedManager] identityKeyForRecipientId:self.thread.contactIdentifier];
|
||||||
|
|
|
@ -79,12 +79,6 @@
|
||||||
[self populateImageView:self.image];
|
[self populateImageView:self.image];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
|
||||||
[super didReceiveMemoryWarning];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#pragma mark - Initializers
|
#pragma mark - Initializers
|
||||||
|
|
||||||
- (void)initializeBackground {
|
- (void)initializeBackground {
|
||||||
|
|
|
@ -51,11 +51,6 @@
|
||||||
self.title = NSLocalizedString(@"MESSAGE_COMPOSEVIEW_TITLE", @"");
|
self.title = NSLocalizedString(@"MESSAGE_COMPOSEVIEW_TITLE", @"");
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
|
||||||
[super didReceiveMemoryWarning];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
- (void)viewDidAppear:(BOOL)animated {
|
- (void)viewDidAppear:(BOOL)animated {
|
||||||
[super viewDidAppear:animated];
|
[super viewDidAppear:animated];
|
||||||
|
|
||||||
|
|
|
@ -304,10 +304,6 @@ typedef enum : NSUInteger {
|
||||||
self.inputToolbar.contentView.textView.editable = NO;
|
self.inputToolbar.contentView.textView.editable = NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
|
||||||
[super didReceiveMemoryWarning];
|
|
||||||
}
|
|
||||||
|
|
||||||
#pragma mark - Initiliazers
|
#pragma mark - Initiliazers
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -90,10 +90,6 @@ static NSString *const kUnwindToMessagesViewSegue = @"UnwindToMessagesViewSegue"
|
||||||
_addPeopleLabel.text = NSLocalizedString(@"NEW_GROUP_REQUEST_ADDPEOPLE", @"");
|
_addPeopleLabel.text = NSLocalizedString(@"NEW_GROUP_REQUEST_ADDPEOPLE", @"");
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
|
||||||
[super didReceiveMemoryWarning];
|
|
||||||
}
|
|
||||||
|
|
||||||
#pragma mark - Initializers
|
#pragma mark - Initializers
|
||||||
|
|
||||||
- (void)initializeDelegates {
|
- (void)initializeDelegates {
|
||||||
|
|
|
@ -13,12 +13,6 @@
|
||||||
|
|
||||||
@implementation PresentIdentityQRCodeViewController
|
@implementation PresentIdentityQRCodeViewController
|
||||||
|
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
|
||||||
[super didReceiveMemoryWarning];
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
- (void)viewDidLoad {
|
- (void)viewDidLoad {
|
||||||
[super viewDidLoad];
|
[super viewDidLoad];
|
||||||
|
|
||||||
|
|
|
@ -58,12 +58,6 @@ static NSString *const kCodeSentSegue = @"codeSent";
|
||||||
[_phoneNumberTextField becomeFirstResponder];
|
[_phoneNumberTextField becomeFirstResponder];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
|
||||||
[super didReceiveMemoryWarning];
|
|
||||||
// Dispose of any resources that can be recreated.
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#pragma mark - Locale
|
#pragma mark - Locale
|
||||||
|
|
||||||
- (void)populateDefaultCountryNameAndCode {
|
- (void)populateDefaultCountryNameAndCode {
|
||||||
|
|
|
@ -55,10 +55,6 @@ static NSString *const kUnwindToMessagesViewSegue = @"UnwindToMessagesViewSegue"
|
||||||
untilCancelled:nil];
|
untilCancelled:nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
|
||||||
[super didReceiveMemoryWarning];
|
|
||||||
}
|
|
||||||
|
|
||||||
#pragma mark - Initializers
|
#pragma mark - Initializers
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -25,11 +25,6 @@ static double const STALLED_PROGRESS = 0.9;
|
||||||
[TSSocketManager sendNotification];
|
[TSSocketManager sendNotification];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)didReceiveMemoryWarning {
|
|
||||||
[super didReceiveMemoryWarning];
|
|
||||||
// Dispose of any resources that can be recreated.
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)initializeSocketStatusBar {
|
- (void)initializeSocketStatusBar {
|
||||||
if (!_socketStatusView) {
|
if (!_socketStatusView) {
|
||||||
_socketStatusView = [[UIProgressView alloc] initWithProgressViewStyle:UIProgressViewStyleDefault];
|
_socketStatusView = [[UIProgressView alloc] initWithProgressViewStyle:UIProgressViewStyleDefault];
|
||||||
|
|
Loading…
Reference in New Issue