Skip to content

Commit

Permalink
Updates IGGiftsFeed to strict concurrency checks
Browse files Browse the repository at this point in the history
Summary: Had to do a preconcurrency import because `gIGRootViewController` is declared as a static var which doesn't work with concurrency checks since it's considered mutable shared state. Will update once I find a better solution.

Reviewed By: ale-sisto

Differential Revision: D61615924

fbshipit-source-id: 2352d488ae18813aae22e341ace97edab4c1c4ef
  • Loading branch information
Michael Chen (iOS) authored and facebook-github-bot committed Aug 21, 2024
1 parent a28d835 commit bcd8b07
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Source/IGListKit/IGListBindingSectionController.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ NS_ASSUME_NONNULL_BEGIN
Only when `-diffIdentifier`s match is object equality compared, so you can assume the class is the same, and the
instance has already been checked.
*/
NS_SWIFT_UI_ACTOR
NS_SWIFT_NAME(ListBindingSectionController)
@interface IGListBindingSectionController<__covariant ObjectType : id<IGListDiffable>> : IGListSectionController

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
A protocol that returns data to power cells in an `IGListBindingSectionController`.
*/
NS_SWIFT_UI_ACTOR
NS_SWIFT_NAME(ListBindingSectionControllerDataSource)
@protocol IGListBindingSectionControllerDataSource <NSObject>

Expand Down
1 change: 1 addition & 0 deletions Source/IGListKit/IGListSupplementaryViewSource.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ NS_ASSUME_NONNULL_BEGIN
`IGListAdapter` which then configures and maintains a `UICollectionView`. The supplementary API reflects that in
`UICollectionView`, `UICollectionViewLayout`, and `UICollectionViewDataSource`.
*/
NS_SWIFT_UI_ACTOR
NS_SWIFT_NAME(ListSupplementaryViewSource)
@protocol IGListSupplementaryViewSource <NSObject>

Expand Down

0 comments on commit bcd8b07

Please sign in to comment.