IGListKit/Examples/Examples-iOS/IGListKitExamples/SectionControllers
Oge Nwabuoku 8676a3e6b9
Some checks failed
IGListKit CI / Unit Test macOS (push) Has been cancelled
IGListKit CI / Unit Test iOS (push) Has been cancelled
IGListKit CI / Unit Test tvOS (push) Has been cancelled
IGListKit CI / CocoaPods Lint (push) Has been cancelled
IGListKit CI / Verify generate_spm_sources_layout.sh is not broken (push) Has been cancelled
IGListKit CI / Verify SPM build by invoking `xcodebuild` on Package.swift (push) Has been cancelled
IGListKit CI / Verify Carthage build XCFramework (push) Has been cancelled
IGListKit CI / Build Examples and UI tests. (push) Has been cancelled
IGListKit CI / Run Danger (push) Has been cancelled
De-genericize IGListBindingSectionController for Swift migration
Summary:
## Plan
This module doesn't need A/B testing and will be migrated directly.

## This Diff
Removes the `__covariant ObjectType : id<IGListDiffable>` lightweight generic type parameter from `IGListBindingSectionController`. Swift generic types cannot be exposed to ObjC, so any generic ObjC class must lose its type parameter when converted to Swift. This degenerification is a required prerequisite for future Swift migration.

Changes:
- Removed the generic type parameter from the class header, replacing `ObjectType` with `id<IGListDiffable>` in the `object` property declaration
- Removed the generic specialization from the `IGContentAppreciationGiftSectionController` subclass header
- Simplified 87 Swift files that referenced `ListBindingSectionController<ListDiffable>` or `ListBindingSectionController<any ListDiffable>` or other specializations to plain `ListBindingSectionController`
- Added ObjC casts at 3 callsites where the `.object` property was used with specialized type access (`IGAudioSearchResultsViewController.mm`, `IGDSShowcaseListExampleModel.m`)
- Added Swift casts at callsites in `BCNComposerPostSectionController`, `BCNComposerViewController`, `BCNPostingStatusDatasource`, `BCNComposerAssetSectionController`, and `GiftsFeedSectionController` where `.object` was accessed as the previously-specialized type

Differential Revision: D104311510

fbshipit-source-id: 6f54a761aa70fc39ffcd789fe74e3d83609ef61f
2026-05-11 21:35:07 -07:00
..
With Composable Layout Feed View Controller Demo and Improve UI Testing Infrastructure (#1629) 2025-06-28 10:28:37 -07:00
DemoSectionController.swift Convert Demos to rounded group style 2023-07-25 09:17:11 -07:00
DisplaySectionController.swift Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
EmbeddedSectionController.swift Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
ExpandableSectionController.swift Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
FeedItemSectionController.swift Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
GridSectionController.swift Refine Demo Apps for iOS 26 (#1655) 2026-02-16 23:57:23 -08:00
HorizontalSectionController.swift Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
LabelSectionController.swift Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
ListeningSectionController.swift Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
LoadingSectionController.swift Feed View Controller Demo and Improve UI Testing Infrastructure (#1629) 2025-06-28 10:28:37 -07:00
MonthSectionController.swift De-genericize IGListBindingSectionController for Swift migration 2026-05-11 21:35:07 -07:00
PersonSectionController.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
PersonSectionController.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
PostSectionController.h Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
PostSectionController.m Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
PostSectionController.swift Feed View Controller Demo and Improve UI Testing Infrastructure (#1629) 2025-06-28 10:28:37 -07:00
RemoveSectionController.swift Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
ReorderableSectionController.swift Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
SearchSectionController.swift Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
SelfSizingSectionController.swift Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
StoryboardLabelSectionController.swift Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
UserSectionController.swift Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00
WorkingRangeSectionController.swift Standarize the copyright notice in all source files 2023-04-06 02:44:16 -07:00