Import RageShakeManager.h and RiotDesignValues.h in App Delegate header

This commit is contained in:
Giom Foret
2017-04-07 11:52:53 +02:00
parent 62b20e0682
commit 4e90defe11
24 changed files with 10 additions and 85 deletions
@@ -19,10 +19,6 @@
#import "AppDelegate.h"
#import "RageShakeManager.h"
#import "RiotDesignValues.h"
@implementation AttachmentsViewController
#pragma mark -
@@ -22,10 +22,6 @@
#import "AuthInputsView.h"
#import "ForgotPasswordInputsView.h"
#import "RageShakeManager.h"
#import "RiotDesignValues.h"
@interface AuthenticationViewController ()
{
/**
-3
View File
@@ -19,10 +19,7 @@
#import "AppDelegate.h"
#import "RageShakeManager.h"
#import "AvatarGenerator.h"
#import "RiotDesignValues.h"
#import "MXRoom+Riot.h"
@@ -21,10 +21,6 @@
#import "RoomMemberTitleView.h"
#import "RiotDesignValues.h"
#import "RageShakeManager.h"
#import "AvatarGenerator.h"
#import "Tools.h"
@@ -18,10 +18,6 @@
#import "AppDelegate.h"
#import "RiotDesignValues.h"
#import "RageShakeManager.h"
@implementation CountryPickerViewController
- (void)finalizeInit
@@ -21,10 +21,6 @@
#import "AppDelegate.h"
#import "RiotDesignValues.h"
#import "RageShakeManager.h"
@interface DirectoryViewController ()
{
PublicRoomsDirectoryDataSource *dataSource;
@@ -26,10 +26,6 @@
#import "EventFormatter.h"
#import "RiotDesignValues.h"
#import "RageShakeManager.h"
@implementation HomeFilesSearchViewController
- (void)finalizeInit
@@ -30,10 +30,6 @@
#import "EventFormatter.h"
#import "RiotDesignValues.h"
#import "RageShakeManager.h"
@implementation HomeMessagesSearchViewController
- (void)finalizeInit
@@ -19,10 +19,6 @@
#import "AppDelegate.h"
#import "RiotDesignValues.h"
#import "RageShakeManager.h"
#import <MobileCoreServices/MobileCoreServices.h>
@interface MediaAlbumContentViewController ()
@@ -29,10 +29,6 @@
#import "MediaAlbumTableCell.h"
#import "RiotDesignValues.h"
#import "RageShakeManager.h"
static void *CapturingStillImageContext = &CapturingStillImageContext;
static void *RecordingContext = &RecordingContext;
+2 -1
View File
@@ -1,5 +1,6 @@
/*
Copyright 2015 OpenMarket Ltd
Copyright 2017 Vector Creations Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -44,7 +45,7 @@
/**
Refresh the cell selection in the table.
This must be done accordingly to the currently selected room in the parent HomeViewController.
This must be done accordingly to the currently selected room in the master tabbar of the application.
@param forceVisible if YES and if the corresponding cell is not visible, scroll the table view to make it visible.
*/
+2 -6
View File
@@ -21,16 +21,12 @@
#import "UnifiedSearchViewController.h"
#import "RageShakeManager.h"
#import "MXRoom+Riot.h"
#import "NSBundle+MatrixKit.h"
#import "RoomViewController.h"
#import "RiotDesignValues.h"
#import "InviteRecentTableViewCell.h"
#import "DirectoryRecentTableViewCell.h"
#import "RoomIdOrAliasTableViewCell.h"
@@ -418,7 +414,7 @@
}
}
#pragma mark - swipe actions
#pragma mark - Swipe actions
- (NSArray *)tableView:(UITableView *)tableView editActionsForRowAtIndexPath:(NSIndexPath *)indexPath
{
@@ -960,7 +956,7 @@
- (void)addRoomCreationButton
{
// Add blur mask programatically
// Add blur mask programmatically
tableViewMaskLayer = [CAGradientLayer layer];
CGColorRef opaqueWhiteColor = [UIColor colorWithWhite:1.0 alpha:1.0].CGColor;
@@ -24,10 +24,6 @@
#import "FilesSearchCellData.h"
#import "FilesSearchTableViewCell.h"
#import "RiotDesignValues.h"
#import "RageShakeManager.h"
#import "AppDelegate.h"
@interface RoomFilesSearchViewController ()
@@ -21,10 +21,6 @@
#import "AppDelegate.h"
#import "RiotDesignValues.h"
#import "RageShakeManager.h"
#import "AttachmentsViewController.h"
@implementation RoomFilesViewController
@@ -21,10 +21,6 @@
#import "RoomMemberTitleView.h"
#import "RiotDesignValues.h"
#import "RageShakeManager.h"
#import "AvatarGenerator.h"
#import "Tools.h"
@@ -26,10 +26,6 @@
#import "RoomIncomingAttachmentBubbleCell.h"
#import "RoomIncomingTextMsgBubbleCell.h"
#import "RiotDesignValues.h"
#import "RageShakeManager.h"
#import "AppDelegate.h"
@interface RoomMessagesSearchViewController ()
@@ -22,10 +22,6 @@
#import "SegmentedViewController.h"
#import "RageShakeManager.h"
#import "RiotDesignValues.h"
#import "AvatarGenerator.h"
#import "Tools.h"
-6
View File
@@ -21,10 +21,6 @@
#import "AppDelegate.h"
#import "RiotDesignValues.h"
#import "RageShakeManager.h"
#import "RoomInputToolbarView.h"
#import "RoomActivitiesView.h"
@@ -89,8 +85,6 @@
#import "AvatarGenerator.h"
#import "Tools.h"
#import "RiotDesignValues.h"
#import "GBDeviceInfo_iOS.h"
#import "RoomEncryptedDataBubbleCell.h"
@@ -17,9 +17,7 @@
#import "SegmentedViewController.h"
#import "RiotDesignValues.h"
#import "RageShakeManager.h"
#import "AppDelegate.h"
@interface SegmentedViewController ()
{
@@ -17,12 +17,8 @@
#import "SettingsViewController.h"
#import "RageShakeManager.h"
#import "AppDelegate.h"
#import "RiotDesignValues.h"
#import "AvatarGenerator.h"
#import <Photos/Photos.h>