Skip to content

Commit

Permalink
Remove unused code from the pch file
Browse files Browse the repository at this point in the history
  • Loading branch information
kean committed Dec 27, 2023
1 parent 4f567da commit 756d7f5
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 21 deletions.
1 change: 1 addition & 0 deletions WordPress/Classes/Services/LocalCoreDataService.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#import <CoreData/CoreData.h>
#import "LocalCoreDataService.h"

@interface LocalCoreDataService ()
Expand Down
1 change: 1 addition & 0 deletions WordPress/Classes/Services/MenusService.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#import <CoreData/CoreData.h>
#import "LocalCoreDataService.h"

NS_ASSUME_NONNULL_BEGIN
Expand Down
1 change: 1 addition & 0 deletions WordPress/Classes/Utility/WPTableViewHandler.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>

@class WPTableViewHandler;

Expand Down
1 change: 1 addition & 0 deletions WordPress/Classes/Utility/WPTableViewHandler.m
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#import <CoreData/CoreData.h>
#import "WPTableViewHandler.h"
#import <WordPressShared/WPTableViewCell.h>
#import "WordPress-Swift.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#import <UIKit/UIKit.h>

#import <CoreData/CoreData.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#import <CoreData/CoreData.h>
#import "BlogSelectorViewController.h"
#import "BlogDetailsViewController.h"
#import "WPBlogTableViewCell.h"
Expand Down
20 changes: 0 additions & 20 deletions WordPress/WordPress_Prefix.pch
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,10 @@

#ifdef __OBJC__
// Core Frameworks
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
#import <CoreData/CoreData.h>
#import <SystemConfiguration/SystemConfiguration.h>
#import <MobileCoreServices/MobileCoreServices.h>

// 3rd Party
@import CocoaLumberjack;
@import NSObject_SafeExpectations;
@import WordPressShared.WPMapFilterReduce;

// Project-specific
#import "WPError.h"

#ifndef IS_IPAD
#define IS_IPAD ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad)
#endif
#ifndef IS_IPHONE
#define IS_IPHONE (!IS_IPAD)
#endif
#ifndef IS_RETINA
#define IS_RETINA ([[UIScreen mainScreen] respondsToSelector:@selector(scale)] && [[UIScreen mainScreen] scale] == 2)
#endif

#ifndef WPCOM_SCHEME
#warning WPCOM_SCHEME is not defined for this target configuration! Defaulting to "wordpress".
Expand Down

0 comments on commit 756d7f5

Please sign in to comment.