-
Notifications
You must be signed in to change notification settings - Fork 917
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix UICollectionView cell enumeration hitting asserts in Xcode 16
Enumerate the cells by scrolling the collection view's content offset and calling `layoutIfNeeded` instead of programmatically enumerating them using the data source and delegate APIs directly.
- Loading branch information
Justin Martin
committed
Sep 24, 2024
1 parent
8f094a6
commit a3a3fb8
Showing
1 changed file
with
19 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters