mirror of
https://github.com/tappollo/IGListKit.git
synced 2026-01-12 22:45:13 +08:00
Summary: So the main Podspec file now has two Subspecs, `Diffing` and for lack of better name `Default`. `Diffing` is purely the files within the common directories (used for Diffing, if in the future we support MacOS NSCollectionView then this may need changing). `Default` depends on `Diffing` but also adds all the non-common files. To use it via CocoaPods, nothing changes. You `import IGListKit` and you will only have access to the files in the pod you use. (So if you use `IGListKit/Diffing` in your Podfile, then you will only get access to the diffing files). If you do a manual installation, or I assume via Carthage, then you will need to import the correct header file (either `IGListDiffKit.h` or `IGListKit.h` depending on what you want). Turns out CocoaPods creates it's own umbrella header (unless you tell it otherwise) meaning our ones are unused by it. Just to confirm `IGListKit` in your Podfile will give you everything, only if you add `/Diffing` will you "opt-out" o Closes https://github.com/Instagram/IGListKit/pull/368 Differential Revision: D4367438 Pulled By: jessesquires fbshipit-source-id: 272318ca551e7e8c4177ca3ca501fde23bd9705a
61 lines
2.0 KiB
Objective-C
61 lines
2.0 KiB
Objective-C
/**
|
|
* Copyright (c) 2016-present, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*/
|
|
|
|
#import <IGListKit/IGListCompatibility.h>
|
|
|
|
/**
|
|
* Project version number for IGListKit.
|
|
*/
|
|
FOUNDATION_EXPORT double IGListKitVersionNumber;
|
|
|
|
/**
|
|
* Project version string for IGListKit.
|
|
*/
|
|
FOUNDATION_EXPORT const unsigned char IGListKitVersionString[];
|
|
|
|
#if TARGET_OS_EMBEDDED || TARGET_OS_SIMULATOR
|
|
|
|
// iOS and tvOS only:
|
|
|
|
#import <IGListKit/IGListAdapter.h>
|
|
#import <IGListKit/IGListAdapterDataSource.h>
|
|
#import <IGListKit/IGListAdapterDelegate.h>
|
|
#import <IGListKit/IGListAdapterUpdater.h>
|
|
#import <IGListKit/IGListAdapterUpdaterDelegate.h>
|
|
#import <IGListKit/IGListCollectionContext.h>
|
|
#import <IGListKit/IGListCollectionView.h>
|
|
#import <IGListKit/IGListDisplayDelegate.h>
|
|
#import <IGListKit/IGListExperiments.h>
|
|
#import <IGListKit/IGListGridCollectionViewLayout.h>
|
|
#import <IGListKit/IGListSectionController.h>
|
|
#import <IGListKit/IGListSectionType.h>
|
|
#import <IGListKit/IGListReloadDataUpdater.h>
|
|
#import <IGListKit/IGListScrollDelegate.h>
|
|
#import <IGListKit/IGListSingleSectionController.h>
|
|
#import <IGListKit/IGListStackedSectionController.h>
|
|
#import <IGListKit/IGListSupplementaryViewSource.h>
|
|
#import <IGListKit/IGListUpdatingDelegate.h>
|
|
#import <IGListKit/IGListWorkingRangeDelegate.h>
|
|
|
|
#endif
|
|
|
|
// Shared (iOS, tvOS, macOS compatible):
|
|
|
|
#import <IGListKit/IGListAssert.h>
|
|
#import <IGListKit/IGListBatchUpdateData.h>
|
|
#import <IGListKit/IGListDiff.h>
|
|
#import <IGListKit/IGListDiffable.h>
|
|
#import <IGListKit/IGListExperiments.h>
|
|
#import <IGListKit/IGListIndexPathResult.h>
|
|
#import <IGListKit/IGListIndexSetResult.h>
|
|
#import <IGListKit/IGListMoveIndex.h>
|
|
#import <IGListKit/IGListMoveIndexPath.h>
|
|
#import <IGListKit/NSNumber+IGListDiffable.h>
|
|
#import <IGListKit/NSString+IGListDiffable.h>
|