IGListKit/Source/IGListKit
Tim Oliver 10fbfd9b80 Fix the SPM build errors caused by removal of unprefixed headers (#1644)
Summary:
It looks like D86316341 caused the GitHub unit tests to stop passing since SPM relies on IGListKit and IGListDiffKit being in the same directory so there are no module imports.

This diff adds the same `__has_include` conditional checking so our internal and external module configurations will both work.

Pull Request resolved: https://github.com/instagram/IGListKit/pull/1644

Test Plan:
The external tests are working again. As long as the internal tests also pass, we should be good!

 {F1983488354}

Reviewed By: m3rlin45

Differential Revision: D86943807

Pulled By: TimOliver

fbshipit-source-id: c741acbb1f8425e92834daec720d4be3b3c264da
2025-12-10 17:18:43 +09:00
..
Internal Provided support for iOS 13 Context Menus (#1430) 2025-12-10 17:18:43 +09:00
IGListAdapter.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
IGListAdapter.m UICollectionViewLayout+InteractiveReordering 2025-12-10 17:18:43 +09:00
IGListAdapterDataSource.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
IGListAdapterDelegate.h Add IGListAdapterDelegate Methods 1/n 2025-12-10 17:18:42 +09:00
IGListAdapterDelegateAnnouncer.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
IGListAdapterDelegateAnnouncer.m Add IGListAdapterDelegate Methods 2/n 2025-12-10 17:18:42 +09:00
IGListAdapterMoveDelegate.h Enable Swift 6 on IGAvatarUnlockableQuestsUI 2025-12-10 17:18:43 +09:00
IGListAdapterPerformanceDelegate.h Standarize the copyright notice in all source files 2025-12-10 17:18:09 +09:00
IGListAdapterUpdateListener.h Enable strict concurrency for BCNLoginNavigationController 2025-12-10 17:18:12 +09:00
IGListAdapterUpdater.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
IGListAdapterUpdater.m Additional debugging info when IGListKit collection view could crash 2025-12-10 17:18:12 +09:00
IGListAdapterUpdaterDelegate.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
IGListBatchContext.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
IGListBindable.h Mark IGListAdapter, IGListSectionController and IGListBindable as a NS_SWIFT_UI_ACTOR 2025-12-10 17:18:12 +09:00
IGListBindingSectionController.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
IGListBindingSectionController.m Fix for MID barcelona_ios_fads/c3fbd3e0c8fe65d943ca7fbe1f493880 2025-12-10 17:18:43 +09:00
IGListBindingSectionControllerDataSource.h Updates IGGiftsFeed to strict concurrency checks 2025-12-10 17:18:12 +09:00
IGListBindingSectionControllerSelectionDelegate.h Provided support for iOS 13 Context Menus (#1430) 2025-12-10 17:18:43 +09:00
IGListBindingSingleSectionController.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
IGListBindingSingleSectionController.m Add framework import check for IGListBindingSingleSectionController 2025-12-10 17:18:10 +09:00
IGListCollectionContext.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
IGListCollectionScrollingTraits.h Standarize the copyright notice in all source files 2025-12-10 17:18:09 +09:00
IGListCollectionView.h Standarize the copyright notice in all source files 2025-12-10 17:18:09 +09:00
IGListCollectionView.m Refactor code syntax in public classes to be easier to provide code coverage 2025-12-10 17:18:09 +09:00
IGListCollectionViewDelegateLayout.h Standarize the copyright notice in all source files 2025-12-10 17:18:09 +09:00
IGListCollectionViewLayout.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
IGListCollectionViewLayout.mm Disable cache invaldation when the collection view perform an insertion of a new page to the list 2025-12-10 17:18:43 +09:00
IGListCollectionViewLayoutCompatible.h Standarize the copyright notice in all source files 2025-12-10 17:18:09 +09:00
IGListCollectionViewLayoutInvalidationContext.h Fix missing project and SPM references (#1621) 2025-12-10 17:18:12 +09:00
IGListCollectionViewLayoutInvalidationContext.m Fix missing project and SPM references (#1621) 2025-12-10 17:18:12 +09:00
IGListDisplayDelegate.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
IGListGenericSectionController.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
IGListGenericSectionController.m Standarize the copyright notice in all source files 2025-12-10 17:18:09 +09:00
IGListKit.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
IGListReloadDataUpdater.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
IGListReloadDataUpdater.m Additional debugging info when IGListKit collection view could crash 2025-12-10 17:18:12 +09:00
IGListScrollDelegate.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
IGListSectionController.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
IGListSectionController.m Provided support for iOS 13 Context Menus (#1430) 2025-12-10 17:18:43 +09:00
IGListSingleSectionController.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
IGListSingleSectionController.m Standarize the copyright notice in all source files 2025-12-10 17:18:09 +09:00
IGListSupplementaryViewSource.h Fix 'veiw' mispelling 2025-12-10 17:18:42 +09:00
IGListTransitionData.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
IGListTransitionData.m Standarize the copyright notice in all source files 2025-12-10 17:18:09 +09:00
IGListTransitionDelegate.h Standarize the copyright notice in all source files 2025-12-10 17:18:09 +09:00
IGListUpdatingDelegate.h T202656292: Error: NSInternalInconsistencyException at UIKit/UIKitCore:-[UICollectionView _createPreparedCellForItemAtIndexPath:withLayoutAttributes:applyAttribut - log when sectionController is nil 2025-12-10 17:18:12 +09:00
IGListWorkingRangeDelegate.h Fix the SPM build errors caused by removal of unprefixed headers (#1644) 2025-12-10 17:18:43 +09:00
UIViewController+IGListAdapter.h add associatedListAdapters to UIViewController 2025-12-10 17:18:12 +09:00
UIViewController+IGListAdapter.m add associatedListAdapters to UIViewController 2025-12-10 17:18:12 +09:00