Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

[Build] Remove Unused Imports across all of AsyncDisplayKit. #1875

Merged
merged 1 commit into from
Jul 10, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions AsyncDisplayKit/ASCellNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#import "ASCellNode+Internal.h"

#import "ASInternalHelpers.h"
#import "ASEqualityHelpers.h"
#import "ASDisplayNodeInternal.h"
#import <AsyncDisplayKit/_ASDisplayView.h>
Expand All @@ -20,7 +19,6 @@

#import <AsyncDisplayKit/ASViewController.h>
#import <AsyncDisplayKit/ASInsetLayoutSpec.h>
#import <AsyncDisplayKit/ASLayout.h>

#pragma mark -
#pragma mark ASCellNode
Expand Down
2 changes: 0 additions & 2 deletions AsyncDisplayKit/ASCollectionNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
#import "ASDisplayNode+Subclasses.h"
#import "ASEnvironmentInternal.h"
#import "ASInternalHelpers.h"
#import "ASRangeControllerUpdateRangeProtocol+Beta.h"
#import "ASCellNode+Internal.h"
#include <vector>

#pragma mark - _ASCollectionPendingState

Expand Down
2 changes: 0 additions & 2 deletions AsyncDisplayKit/ASCollectionView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
#import "UICollectionViewLayout+ASConvenience.h"
#import "ASRangeController.h"
#import "ASCollectionNode.h"
#import "ASCollectionView.h"
#import "ASRangeControllerUpdateRangeProtocol+Beta.h"
#import "_ASDisplayLayer.h"
#import "ASCollectionViewLayoutFacilitatorProtocol.h"

Expand Down
2 changes: 0 additions & 2 deletions AsyncDisplayKit/ASControlNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

#import "ASControlNode.h"
#import "ASControlNode+Subclasses.h"
#import "ASThread.h"
#import "ASDisplayNodeExtras.h"
#import "ASImageNode.h"
#import "AsyncDisplayKit+Debug.h"
#import "ASInternalHelpers.h"
Expand Down
3 changes: 0 additions & 3 deletions AsyncDisplayKit/ASDisplayNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,13 @@
#import "ASDisplayNode+Beta.h"

#import <objc/runtime.h>
#import <deque>
#import <queue>

#import "_ASAsyncTransaction.h"
#import "_ASAsyncTransactionContainer+Private.h"
#import "_ASPendingState.h"
#import "_ASDisplayView.h"
#import "_ASScopeTimer.h"
#import "_ASCoreAnimationExtras.h"
#import "ASLayoutTransition.h"
#import "ASDisplayNodeExtras.h"
#import "ASTraitCollection.h"
#import "ASEqualityHelpers.h"
Expand Down
1 change: 0 additions & 1 deletion AsyncDisplayKit/ASEditableTextNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#import "ASDisplayNode+Subclasses.h"
#import "ASEqualityHelpers.h"
#import "ASTextNodeWordKerner.h"
#import "ASThread.h"

/**
@abstract Object to hold UITextView's pending UITextInputTraits
Expand Down
2 changes: 0 additions & 2 deletions AsyncDisplayKit/ASImageNode+AnimatedImage.mm
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@
#import "ASImageNode.h"

#import "ASAssert.h"
#import "ASImageProtocols.h"
#import "ASDisplayNode+Subclasses.h"
#import "ASDisplayNodeExtras.h"
#import "ASEqualityHelpers.h"
#import "ASDisplayNode+FrameworkPrivate.h"
#import "ASImageNode+AnimatedImagePrivate.h"
#import "ASInternalHelpers.h"
#import "ASWeakProxy.h"
Expand Down
1 change: 0 additions & 1 deletion AsyncDisplayKit/ASImageNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#import "ASImageNode.h"

#import "_ASCoreAnimationExtras.h"
#import "_ASDisplayLayer.h"
#import "ASAssert.h"
#import "ASDisplayNode+Subclasses.h"
Expand Down
2 changes: 0 additions & 2 deletions AsyncDisplayKit/ASMapNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
#import "ASDisplayNode+Subclasses.h"
#import "ASDisplayNodeExtras.h"
#import "ASInsetLayoutSpec.h"
#import "ASCenterLayoutSpec.h"
#import "ASThread.h"
#import "ASInternalHelpers.h"
#import "ASLayout.h"

Expand Down
4 changes: 0 additions & 4 deletions AsyncDisplayKit/ASMultiplexImageNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,7 @@
#import "ASMultiplexImageNode.h"
#import <AssetsLibrary/AssetsLibrary.h>

#import <Photos/Photos.h>
#import <libkern/OSAtomic.h>

#import "ASAvailability.h"
#import "ASBaseDefines.h"
#import "ASDisplayNode+Subclasses.h"
#import "ASDisplayNode+FrameworkPrivate.h"
#import "ASLog.h"
Expand Down
1 change: 0 additions & 1 deletion AsyncDisplayKit/ASNetworkImageNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#import "ASDisplayNode+Subclasses.h"
#import "ASDisplayNode+FrameworkPrivate.h"
#import "ASEqualityHelpers.h"
#import "ASThread.h"
#import "ASInternalHelpers.h"
#import "ASImageContainerProtocolCategories.h"
#import "ASDisplayNodeExtras.h"
Expand Down
3 changes: 0 additions & 3 deletions AsyncDisplayKit/ASPagerNode.m
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
#import "ASDelegateProxy.h"
#import "ASDisplayNode+Subclasses.h"
#import "ASPagerFlowLayout.h"
#import "ASCollectionView.h"
#import "ASCollectionViewProtocols.h"
#import "UICollectionViewLayout+ASConvenience.h"

@interface ASPagerNode () <ASCollectionDataSource, ASCollectionViewDelegateFlowLayout, ASDelegateProxyInterceptor>
{
Expand Down
3 changes: 0 additions & 3 deletions AsyncDisplayKit/ASTableNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@
#import "ASEnvironmentInternal.h"
#import "ASDisplayNode+Subclasses.h"
#import "ASInternalHelpers.h"
#import "ASRangeControllerUpdateRangeProtocol+Beta.h"
#import "ASTableViewInternal.h"
#import "ASCellNode+Internal.h"
#import "ASTableNode.h"

#pragma mark - _ASTablePendingState

Expand Down
6 changes: 0 additions & 6 deletions AsyncDisplayKit/ASTableView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,11 @@
#import "ASDisplayNodeExtras.h"
#import "ASDisplayNode+Beta.h"
#import "ASDisplayNode+FrameworkPrivate.h"
#import "ASEnvironmentInternal.h"
#import "ASInternalHelpers.h"
#import "ASLayout.h"
#import "ASLayoutController.h"
#import "ASRangeController.h"
#import "ASRangeControllerUpdateRangeProtocol+Beta.h"
#import "_ASDisplayLayer.h"
#import "ASTableNode.h"

#import <CoreFoundation/CoreFoundation.h>

static const ASSizeRange kInvalidSizeRange = {CGSizeZero, CGSizeZero};
static NSString * const kCellReuseIdentifier = @"_ASTableViewCell";

Expand Down
2 changes: 0 additions & 2 deletions AsyncDisplayKit/ASVideoNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@
#import <AVFoundation/AVFoundation.h>
#import "ASDisplayNode+Subclasses.h"
#import "ASVideoNode.h"
#import "ASDefaultPlayButton.h"
#import "ASEqualityHelpers.h"
#import "ASInternalHelpers.h"
#import "ASDisplayNodeExtras.h"
#import "ASThread.h"

static BOOL ASAssetIsEqual(AVAsset *asset1, AVAsset *asset2) {
return ASObjectIsEqual(asset1, asset2)
Expand Down
2 changes: 0 additions & 2 deletions AsyncDisplayKit/ASViewController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@
#import "ASViewController.h"
#import "ASAssert.h"
#import "ASAvailability.h"
#import "ASDimension.h"
#import "ASDisplayNodeInternal.h"
#import "ASDisplayNode+FrameworkPrivate.h"
#import "ASDisplayNode+Beta.h"
#import "ASTraitCollection.h"
#import "ASEnvironmentInternal.h"
#import "ASRangeControllerUpdateRangeProtocol+Beta.h"
Expand Down
2 changes: 0 additions & 2 deletions AsyncDisplayKit/ASVisibilityProtocols.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
// of patent rights can be found in the PATENTS file in the same directory.
//

#import <Foundation/Foundation.h>

#import "ASVisibilityProtocols.h"

ASLayoutRangeMode ASLayoutRangeModeForVisibilityDepth(NSUInteger visibilityDepth)
Expand Down
2 changes: 0 additions & 2 deletions AsyncDisplayKit/Details/ASBasicImageDownloader.mm
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

#import <objc/runtime.h>

#import <UIKit/UIKit.h>

#import "ASBasicImageDownloaderInternal.h"
#import "ASThread.h"

Expand Down
4 changes: 0 additions & 4 deletions AsyncDisplayKit/Details/ASChangeSetDataController.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@
//

#import "ASChangeSetDataController.h"
#import "ASInternalHelpers.h"
#import "_ASHierarchyChangeSet.h"
#import "ASAssert.h"
#import "NSIndexSet+ASHelpers.h"

#import "ASDataController+Subclasses.h"

@implementation ASChangeSetDataController {
NSInteger _changeSetBatchUpdateCounter;
Expand Down
1 change: 0 additions & 1 deletion AsyncDisplayKit/Details/ASCollectionDataController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#import "ASAssert.h"
#import "ASMultidimensionalArrayUtils.h"
#import "ASCellNode.h"
#import "ASDisplayNodeInternal.h"
#import "ASDataController+Subclasses.h"
#import "ASIndexedNodeContext.h"

Expand Down
1 change: 0 additions & 1 deletion AsyncDisplayKit/Details/ASCollectionInternal.m
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@
// of patent rights can be found in the PATENTS file in the same directory.
//

#import "ASCollectionInternal.h"
3 changes: 0 additions & 3 deletions AsyncDisplayKit/Details/ASCollectionViewLayoutController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,10 @@

#import "ASCollectionViewLayoutController.h"

#include <vector>

#import "ASAssert.h"
#import "ASCollectionView.h"
#import "CGRect+ASConvenience.h"
#import "UICollectionViewLayout+ASConvenience.h"
#import "ASDisplayNodeExtras.h"

struct ASRangeGeometry {
CGRect rangeBounds;
Expand Down
5 changes: 0 additions & 5 deletions AsyncDisplayKit/Details/ASDataController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,9 @@

#import "ASDataController.h"

#import <Foundation/NSProcessInfo.h>

#import "ASAssert.h"
#import "ASCellNode.h"
#import "ASDisplayNode.h"
#import "ASEnvironmentInternal.h"
#import "ASFlowLayoutController.h"
#import "ASInternalHelpers.h"
#import "ASLayout.h"
#import "ASMainSerialQueue.h"
#import "ASMultidimensionalArrayUtils.h"
Expand Down
1 change: 0 additions & 1 deletion AsyncDisplayKit/Details/ASFlowLayoutController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#include <map>
#include <vector>
#include <cassert>

@interface ASFlowLayoutController()
{
Expand Down
1 change: 0 additions & 1 deletion AsyncDisplayKit/Details/ASTraitCollection.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
//

#import "ASTraitCollection.h"
#import <AsyncDisplayKit/ASAssert.h>
#import <AsyncDisplayKit/ASAvailability.h>

@implementation ASTraitCollection
Expand Down
2 changes: 0 additions & 2 deletions AsyncDisplayKit/Details/CGRect+ASConvenience.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
//

#import "CGRect+ASConvenience.h"
#import "ASScrollDirection.h"
#import "ASLayoutController.h"

ASDirectionalScreenfulBuffer ASDirectionalScreenfulBufferHorizontal(ASScrollDirection scrollDirection,
ASRangeTuningParameters rangeTuningParameters)
Expand Down
1 change: 0 additions & 1 deletion AsyncDisplayKit/Details/_ASDisplayViewAccessiblity.mm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
// of patent rights can be found in the PATENTS file in the same directory.
//

#import "_ASDisplayViewAccessiblity.h"
#import "_ASDisplayView.h"
#import "ASDisplayNodeExtras.h"
#import "ASDisplayNode+FrameworkPrivate.h"
Expand Down
1 change: 0 additions & 1 deletion AsyncDisplayKit/Layout/ASBackgroundLayoutSpec.mm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#import "ASBackgroundLayoutSpec.h"

#import "ASAssert.h"
#import "ASBaseDefines.h"
#import "ASLayout.h"

static NSUInteger const kForegroundChildIndex = 0;
Expand Down
1 change: 0 additions & 1 deletion AsyncDisplayKit/Layout/ASCenterLayoutSpec.mm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#import "ASCenterLayoutSpec.h"

#import "ASInternalHelpers.h"
#import "ASLayout.h"

@implementation ASCenterLayoutSpec
Expand Down
1 change: 0 additions & 1 deletion AsyncDisplayKit/Layout/ASInsetLayoutSpec.mm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#import "ASInsetLayoutSpec.h"

#import "ASAssert.h"
#import "ASBaseDefines.h"

#import "ASInternalHelpers.h"
#import "ASLayout.h"
Expand Down
2 changes: 0 additions & 2 deletions AsyncDisplayKit/Layout/ASLayout.mm
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@

#import "ASLayout.h"

#import "ASAssert.h"
#import "ASDimension.h"
#import "ASInternalHelpers.h"
#import "ASLayoutSpecUtilities.h"

Expand Down
2 changes: 0 additions & 2 deletions AsyncDisplayKit/Layout/ASLayoutSpec.mm
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
#import "ASLayoutSpec.h"

#import "ASAssert.h"
#import "ASBaseDefines.h"
#import "ASEnvironmentInternal.h"

#import "ASInternalHelpers.h"
#import "ASLayout.h"
#import "ASThread.h"
#import "ASTraitCollection.h"
Expand Down
6 changes: 0 additions & 6 deletions AsyncDisplayKit/Layout/ASLayoutable.mm
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,10 @@
//

#import "ASLayoutablePrivate.h"
#import "ASInternalHelpers.h"
#import "ASEnvironmentInternal.h"
#import "ASDisplayNodeInternal.h"
#import "ASTextNode.h"
#import "ASLayoutSpec.h"

#import "pthread.h"
#import <map>
#import <iterator>
#import "ASThread.h"

int32_t const ASLayoutableContextInvalidTransitionID = 0;
int32_t const ASLayoutableContextDefaultTransitionID = ASLayoutableContextInvalidTransitionID + 1;
Expand Down
1 change: 0 additions & 1 deletion AsyncDisplayKit/Layout/ASOverlayLayoutSpec.mm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#import "ASOverlayLayoutSpec.h"

#import "ASAssert.h"
#import "ASBaseDefines.h"
#import "ASLayout.h"

static NSUInteger const kUnderlayChildIndex = 0;
Expand Down
1 change: 0 additions & 1 deletion AsyncDisplayKit/Layout/ASRatioLayoutSpec.mm
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#import <vector>

#import "ASAssert.h"
#import "ASBaseDefines.h"

#import "ASInternalHelpers.h"
#import "ASLayout.h"
Expand Down
1 change: 0 additions & 1 deletion AsyncDisplayKit/Layout/ASRelativeSize.mm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
//

#import "ASRelativeSize.h"
#import "ASAssert.h"

ASRelativeSizeRange const ASRelativeSizeRangeUnconstrained = {};

Expand Down
3 changes: 0 additions & 3 deletions AsyncDisplayKit/Layout/ASStackLayoutSpec.mm
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,10 @@
#import <numeric>
#import <vector>

#import "ASBaseDefines.h"
#import "ASInternalHelpers.h"

#import "ASLayoutSpecUtilities.h"
#import "ASStackBaselinePositionedLayout.h"
#import "ASStackLayoutSpecUtilities.h"
#import "ASStackUnpositionedLayout.h"
#import "ASThread.h"

@implementation ASStackLayoutSpec
Expand Down
1 change: 0 additions & 1 deletion AsyncDisplayKit/Layout/ASStaticLayoutSpec.mm
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#import "ASStaticLayoutSpec.h"

#import "ASLayoutSpecUtilities.h"
#import "ASInternalHelpers.h"
#import "ASLayout.h"

@implementation ASStaticLayoutSpec
Expand Down
Loading