[ios] Moved common inclusions into prefix header.

This commit is contained in:
Ilya Grechuhin 2015-09-18 18:07:41 +03:00 committed by Alex Zolotarev
parent 6133ec13ac
commit 87e1c2abce
76 changed files with 14 additions and 78 deletions

View file

@ -1,7 +1,6 @@
#import "AddSetVC.h"
#import "Framework.h"
#import "UIKitCategories.h"
#import "UIViewController+Navigation.h"
#define TEXT_FIELD_TAG 666

View file

@ -1,7 +1,6 @@
#import "BookmarksRootVC.h"
#import "BookmarksVC.h"
#import "Common.h"
#import "UIKitCategories.h"
#include "Framework.h"
#include "platform/platform.hpp"

View file

@ -7,7 +7,6 @@
#import "MapViewController.h"
#import "MWMMapViewControlsManager.h"
#import "Statistics.h"
#import "UIKitCategories.h"
#import <MessageUI/MFMailComposeViewController.h>
#include "Framework.h"

View file

@ -2,7 +2,6 @@
#import "SelectSetVC.h"
#import "Framework.h"
#import "AddSetVC.h"
#import "UIKitCategories.h"
#import "MWMPlacePageViewManager.h"
#import "MWMPlacePageEntity.h"
#import "UIViewController+Navigation.h"

View file

@ -1,5 +1,3 @@
#import <Foundation/Foundation.h>
#import "Macros.h"
static inline CGPoint SubtractCGPoint(CGPoint p1, CGPoint p2)

View file

@ -1,6 +1,5 @@
#import "BadgeView.h"
#import "UIKitCategories.h"
#import "UIFont+MapsMeFonts.h"
@implementation BadgeView

View file

@ -1,7 +1,6 @@
#import "Common.h"
#import "MWMAlertViewController.h"
#import "MWMDownloadTransitMapAlert.h"
#import "UIKitCategories.h"
static NSString * const kAlertControllerNibIdentifier = @"MWMAlertViewController";

View file

@ -6,7 +6,6 @@
#import "MWMPlacePageViewManager.h"
#import "Statistics.h"
#import "UIButton+RuntimeAttributes.h"
#import "UIKitCategories.h"
#import "UILabel+RuntimeAttributes.h"
#include "Framework.h"

View file

@ -6,7 +6,6 @@
#import "MWMDownloadTransitMapAlert.h"
#import "Statistics.h"
#import "UIColor+MapsMeColor.h"
#import "UIKitCategories.h"
#import "UILabel+RuntimeAttributes.h"
@interface MWMDownloaderEntity : NSObject

View file

@ -3,7 +3,6 @@
#import "MWMRateAlert.h"
#import "Statistics.h"
#import "UIColor+MapsMeColor.h"
#import "UIKitCategories.h"
#import <MessageUI/MFMailComposeViewController.h>
#import <sys/utsname.h>

View file

@ -3,7 +3,6 @@
#import "MWMRoutingDisclaimerAlert.h"
#import "UIColor+MapsMeColor.h"
#import "UIFont+MapsMeFonts.h"
#import "UIKitCategories.h"
#import "Statistics.h"
static CGFloat const kMinimumOffset = 20.;

View file

@ -1,6 +1,5 @@
#import "MWMCircularProgress.h"
#import "MWMCircularProgressView.h"
#import "UIKitCategories.h"
@interface MWMCircularProgress ()

View file

@ -1,7 +1,6 @@
#import "MWMCircularProgress.h"
#import "MWMCircularProgressView.h"
#import "UIColor+MapsMeColor.h"
#import "UIKitCategories.h"
static CGFloat const kLineWidth = 2.0;
static NSString * const kAnimationKey = @"CircleAnimation";

View file

@ -4,7 +4,6 @@
#import "MWMCircularProgress.h"
#import "MWMDownloadMapRequest.h"
#import "MWMDownloadMapRequestView.h"
#import "UIKitCategories.h"
#include "Framework.h"
#include "storage/index.hpp"

View file

@ -1,5 +1,4 @@
#import "MWMDownloadMapRequest.h"
#import "UIKitCategories.h"
@interface MWMDownloadMapRequestView : SolidTouchView

View file

@ -1,7 +1,6 @@
#import "MWMDownloadMapRequestView.h"
#import "UIButton+RuntimeAttributes.h"
#import "UIColor+MapsMeColor.h"
#import "UIKitCategories.h"
@interface MWMDownloadMapRequestView ()

View file

@ -1,7 +1,6 @@
#import "Common.h"
#import "MWMAPIBar.h"
#import "MWMAPIBarView.h"
#import "UIKitCategories.h"
#include "Framework.h"

View file

@ -1,6 +1,5 @@
#import "MWMLocationButtonView.h"
#import "MWMMapViewControlsCommon.h"
#import "UIKitCategories.h"
@interface MWMLocationButtonView()

View file

@ -1,6 +1,5 @@
#import "Common.h"
#import "MWMSearchDownloadView.h"
#import "UIKitCategories.h"
@interface MWMSearchDownloadView ()

View file

@ -1,4 +1,3 @@
#import "UIKitCategories.h"
@class MWMSearchTabButtonsView;

View file

@ -1,7 +1,6 @@
#import "Common.h"
#import "MWMSearchTabButtonsView.h"
#import "MWMSearchView.h"
#import "UIKitCategories.h"
static CGFloat const kWidthForiPad = 320.0;

View file

@ -1,7 +1,6 @@
#import "MWMSearchManager.h"
#import "MWMSearchTabButtonsView.h"
#import "UIColor+MapsMeColor.h"
#import "UIKitCategories.h"
static CGFloat const kIconToLabelSpacing = 4.0;

View file

@ -1,5 +1,4 @@
#import "MWMSearchTabbedCollectionViewCell.h"
#import "UIKitCategories.h"
@interface MWMSearchTabbedCollectionViewCell ()

View file

@ -4,7 +4,6 @@
#import "MWMSearchTabbedViewController.h"
#import "MWMSearchTabbedViewLayout.h"
#import "MWMSearchTabbedViewProtocol.h"
#import "UIKitCategories.h"
#include "Framework.h"

View file

@ -4,7 +4,6 @@
#import "MWMSearchCommonCell.h"
#import "UIColor+MapsMeColor.h"
#import "UIFont+MapsMeFonts.h"
#import "UIKitCategories.h"
#include "indexer/mercator.hpp"
#include "platform/measurement_utils.hpp"

View file

@ -1,5 +1,4 @@
#import "MWMSearchTableView.h"
#import "UIKitCategories.h"
@interface MWMSearchTableView ()

View file

@ -7,7 +7,6 @@
#import "MWMSearchTableView.h"
#import "MWMSearchTableViewController.h"
#import "ToastView.h"
#import "UIKitCategories.h"
#include "std/vector.hpp"

View file

@ -1,6 +1,5 @@
#import "MWMMapViewControlsCommon.h"
#import "MWMSideMenuButton.h"
#import "UIKitCategories.h"
@interface MWMSideMenuButton()

View file

@ -1,6 +1,5 @@
#import "MWMMapViewControlsCommon.h"
#import "MWMSideMenuDownloadBadge.h"
#import "UIKitCategories.h"
@interface MWMSideMenuDownloadBadge ()

View file

@ -1,7 +1,5 @@
#import "MWMSideMenuDelegate.h"
#import "MWMSideMenuDownloadBadge.h"
#import "UIKitCategories.h"
#import <UIKit/UIKit.h>
@interface MWMSideMenuView : SolidTouchView <MWMSideMenuDownloadBadgeOwner>

View file

@ -1,7 +1,6 @@
#import "MWMMapViewControlsCommon.h"
#import "MWMSideMenuDownloadBadge.h"
#import "MWMSideMenuView.h"
#import "UIKitCategories.h"
@interface MWMSideMenuView()

View file

@ -1,6 +1,5 @@
#import "MWMZoomButtonsView.h"
#import "MWMMapViewControlsCommon.h"
#import "UIKitCategories.h"
static CGFloat const kZoomViewOffsetToTopBound = 12.0;
static CGFloat const kZoomViewOffsetToBottomBound = 40.0;

View file

@ -9,7 +9,6 @@
#import "MWMRouteHelperPanelsDrawer.h"
#import "MWMRoutePreview.h"
#import "MWMTextToSpeech.h"
#import "UIKitCategories.h"
@interface MWMNavigationDashboardManager ()

View file

@ -2,7 +2,6 @@
#import "MWMNavigationDashboard.h"
#import "MWMNavigationDashboardEntity.h"
#import "TimeUtils.h"
#import "UIKitCategories.h"
#import "UIColor+MapsMeColor.h"
@interface MWMImageView : UIImageView

View file

@ -1,5 +1,4 @@
#import "MWMLanesPanel.h"
#import "UIKitCategories.h"
#import "UIColor+MapsMeColor.h"
static CGFloat const kOffset = 16.;

View file

@ -1,6 +1,5 @@
#import "Common.h"
#import "MWMNavigationView.h"
#import "UIKitCategories.h"
static CGFloat const kStatusbarHeight = 20.0;

View file

@ -1,5 +1,4 @@
#import "MWMNextTurnPanel.h"
#import "UIKitCategories.h"
@interface MWMNextTurnPanel ()

View file

@ -1,6 +1,5 @@
#import "Common.h"
#import "MWMRouteHelperPanel.h"
#import "UIKitCategories.h"
static CGFloat const kHeight = 40.;

View file

@ -1,7 +1,6 @@
#import "MWMLanesPanel.h"
#import "MWMNextTurnPanel.h"
#import "MWMRouteHelperPanelsDrawer.h"
#import "UIKitCategories.h"
#import "UIColor+MapsMeColor.h"
static CGFloat const kOffsetBetweenPanels = 8.;

View file

@ -4,7 +4,6 @@
#import "MWMRoutePreview.h"
#import "TimeUtils.h"
#import "UIColor+MapsMeColor.h"
#import "UIKitCategories.h"
@interface MWMRoutePreview () <MWMCircularProgressDelegate>

View file

@ -1,7 +1,6 @@
#import "MWMDownloadMapRequest.h"
#import "MWMSearchDownloadMapRequest.h"
#import "MWMSearchDownloadMapRequestView.h"
#import "UIKitCategories.h"
@interface MWMSearchDownloadMapRequest () <MWMDownloadMapRequestDelegate>

View file

@ -1,4 +1,3 @@
#import "UIKitCategories.h"
NS_ENUM(NSUInteger, MWMSearchDownloadMapRequestViewState)
{

View file

@ -1,7 +1,6 @@
#import "Common.h"
#import "MWMSearchDownloadMapRequest.h"
#import "MWMSearchDownloadMapRequestView.h"
#import "UIKitCategories.h"
@interface MWMSearchDownloadMapRequestView ()

View file

@ -3,8 +3,6 @@
#import "Common.h"
#import "EAGLView.h"
#import "../Categories/UIKitCategories.h"
#include "Framework.h"
#ifndef USE_DRAPE

View file

@ -6,7 +6,6 @@
#import "MapViewController.h"
#import "Statistics.h"
#import "TimeUtils.h"
#import "UIKitCategories.h"
#import "3party/Alohalytics/src/alohalytics_objc.h"

View file

@ -1,5 +1,4 @@
#import "MWMBasePlacePageView.h"
#import "UIKitCategories.h"
#import "MWMPlacePageInfoCell.h"
#import "MWMPlacePageBookmarkCell.h"
#import "MWMPlacePageEntity.h"

View file

@ -1,5 +1,4 @@
#import "MWMBookmarkColorCell.h"
#import "UIKitCategories.h"
extern NSArray * const kBookmarkColorsVariant;

View file

@ -1,5 +1,4 @@
#import "MWMBookmarkColorViewController.h"
#import "UIKitCategories.h"
#import "MWMBookmarkColorCell.h"
#import "MWMPlacePageEntity.h"
#import "MWMPlacePageViewManager.h"

View file

@ -3,7 +3,6 @@
#import "MWMPlacePageViewManager.h"
#import "MWMPlacePage.h"
#import "MWMPlacePageEntity.h"
#import "UIKitCategories.h"
#import "UIViewController+Navigation.h"
static NSString * const kBookmarkDescriptionViewControllerNibName = @"MWMBookmarkDescriptionViewController";

View file

@ -1,7 +1,6 @@
#import "MWMDirectionView.h"
#import "MWMPlacePageViewManager.h"
#import "UIFont+MapsMeFonts.h"
#import "UIKitCategories.h"
static NSString * const kDirectionViewNibName = @"MWMDirectionView";
static CGFloat const kDirectionArrowSide = IPAD ? 260. : 160.;

View file

@ -6,7 +6,6 @@
#import "MWMDirectionView.h"
#import "MWMBookmarkColorViewController.h"
#import "SelectSetVC.h"
#import "UIKitCategories.h"
#import "MWMBookmarkDescriptionViewController.h"
#import "../../3party/Alohalytics/src/alohalytics_objc.h"

View file

@ -4,7 +4,6 @@
#import "MWMPlacePageActionBar.h"
#import "MWMPlacePageEntity.h"
#import "MWMPlacePageViewManager.h"
#import "UIKitCategories.h"
#include "Framework.h"

View file

@ -1,6 +1,5 @@
#import "MWMPlacePageBookmarkCell.h"
#import "MWMPlacePageEntity.h"
#import "UIKitCategories.h"
#import "MWMPlacePage.h"
#import "MWMPlacePageViewManager.h"
#import "MWMBasePlacePageView.h"

View file

@ -1,8 +1,6 @@
#import "MWMPlacePageEntity.h"
#import "UIKitCategories.h"
#import "MWMPlacePageViewManager.h"
#import "MapViewController.h"
#import "UIKitCategories.h"
#include "platform/measurement_utils.hpp"
extern NSArray * const kBookmarkColorsVariant = @[@"placemark-red", @"placemark-yellow", @"placemark-blue", @"placemark-green", @"placemark-purple", @"placemark-orange", @"placemark-brown", @"placemark-pink"];

View file

@ -1,7 +1,6 @@
#import "MWMPlacePageEntity.h"
#import "MWMPlacePageInfoCell.h"
#import "UIFont+MapsMeFonts.h"
#import "UIKitCategories.h"
#include "platform/settings.hpp"
#include "platform/measurement_utils.hpp"

View file

@ -3,7 +3,6 @@
#import "MWMiPhonePortraitPlacePage.h"
#import "MWMPlacePageViewManager.h"
#import "MWMBasePlacePageView.h"
#import "UIKitCategories.h"
#import "MWMPlacePageEntity.h"
#import <objc/runtime.h>

View file

@ -1,5 +1,4 @@
#import "MWMPlacePageTypeDescription.h"
#import "UIKitCategories.h"
static NSString * const kPlacePageDescriptionViewNibName = @"MWMPlacePageDescriptionView";

View file

@ -14,7 +14,6 @@
#import "MWMPlacePageNavigationBar.h"
#import "MWMPlacePageViewManager.h"
#import "MWMPlacePageViewManagerDelegate.h"
#import "UIKitCategories.h"
#include "Framework.h"

View file

@ -1,5 +1,4 @@
#import "MWMSpringAnimation.h"
#import "UIKitCategories.h"
@interface MWMSpringAnimation ()

View file

@ -2,7 +2,6 @@
#import "MWMiPadPlacePage.h"
#import "MWMPlacePageViewManager.h"
#import "MWMPlacePageActionBar.h"
#import "UIKitCategories.h"
#import "MWMBasePlacePageView.h"
#import "MWMBookmarkColorViewController.h"
#import "SelectSetVC.h"

View file

@ -3,7 +3,6 @@
#import "MWMBasePlacePageView.h"
#import "MWMPlacePageActionBar.h"
#import "MWMPlacePageViewManager.h"
#import "UIKitCategories.h"
#import "MWMSpringAnimation.h"
#import "MWMPlacePage+Animation.h"

View file

@ -1,7 +1,6 @@
#import "Common.h"
#import "MWMiPhonePortraitPlacePage.h"
#import "MWMSpringAnimation.h"
#import "UIKitCategories.h"
#import "MWMPlacePageActionBar.h"
#import "MWMPlacePageNavigationBar.h"
#import "MWMPlacePageViewManager.h"

View file

@ -1,6 +1,5 @@
#import "Common.h"
#import "MapCell.h"
#import "UIKitCategories.h"
#import "UIColor+MapsMeColor.h"
#import "UIFont+MapsMeFonts.h"

View file

@ -7,7 +7,6 @@
#import "MWMMapViewControlsManager.h"
#import "RouteState.h"
#import "UIFont+MapsMeFonts.h"
#import "UIKitCategories.h"
#import "UIViewController+Navigation.h"
#import "3party/Alohalytics/src/alohalytics_objc.h"

View file

@ -9,7 +9,6 @@
#import "Preferences.h"
#import "RouteState.h"
#import "Statistics.h"
#import "UIKitCategories.h"
#import <FBSDKCoreKit/FBSDKCoreKit.h>
#import <Parse/Parse.h>
#import <ParseFacebookUtilsV4/PFFacebookUtils.h>

View file

@ -1,6 +1,5 @@
#import "ProgressView.h"
#import "UIKitCategories.h"
@interface ProgressView ()

View file

@ -1,6 +1,5 @@
#import "ToastView.h"
#import "UIKitCategories.h"
@interface ToastView ()

View file

@ -1,5 +1,4 @@
#import "Common.h"
#import "UIKitCategories.h"
#import "UIViewController+Navigation.h"
@implementation UIViewController (Navigation)

View file

@ -1,7 +1,6 @@
#import "CommunityVC.h"
#import "UIViewController+Navigation.h"
#import "UIKitCategories.h"
#import <MessageUI/MFMailComposeViewController.h>
#import "../../3party/Alohalytics/src/alohalytics_objc.h"

View file

@ -2,7 +2,6 @@
#import <UIKit/UIKit.h>
#import "MapsObservers.h"
#import "MapCell.h"
#import "UIKitCategories.h"
#import "ViewController.h"
#include "storage/storage_defines.hpp"

View file

@ -19,6 +19,17 @@
</ActionContent>
</BreakpointActionProxy>
</Actions>
<Locations>
<Location
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
symbolName = "objc_exception_throw"
moduleName = "libobjc.A.dylib"
usesParentBreakpointCondition = "Yes"
offsetFromSymbolStart = "0">
</Location>
</Locations>
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>

View file

@ -6,4 +6,7 @@
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
#import <CoreGraphics/CoreGraphics.h>
#import "UIKitCategories.h"
#endif

View file

@ -4,7 +4,6 @@
#import "SelectableCell.h"
#import "LinkCell.h"
#import "WebViewController.h"
#import "UIKitCategories.h"
#import "MapViewController.h"
#import "MapsAppDelegate.h"
#import "Framework.h"

View file

@ -1,6 +1,5 @@
#import "SettingsAndMoreVC.h"
#import "UIKitCategories.h"
#import <MessageUI/MFMailComposeViewController.h>
#import <sys/utsname.h>
#import "SettingsViewController.h"

View file

@ -2,7 +2,6 @@
#import "UIButton+RuntimeAttributes.h"
#import "UIColor+MapsMeColor.h"
#import "UIFont+MapsMeFonts.h"
#import "UIKitCategories.h"
@implementation UIButton (RuntimeAttributes)

View file

@ -1,5 +1,4 @@
#import "UILabel+RuntimeAttributes.h"
#import "UIKitCategories.h"
#import "UIFont+MapsMeFonts.h"
#import "UIColor+MapsMeColor.h"