Add code to return the item properly from layoutAttributesForElementsInRect:, add missing NSCopying declaration to NSCollectionViewItem.h, minor cleanup in NSCollectionViewCompositionalLayout

This commit is contained in:
Gregory John Casamento 2022-07-19 09:08:13 -04:00
parent f3672c31e9
commit 5108348ca6
7 changed files with 28 additions and 28 deletions

View file

@ -53,6 +53,7 @@ NSCollectionViewSupplementaryElementKind NSCollectionElementKindInterItemGapIndi
@class NSCollectionView;
@class NSDictionary;
@class NSIndexPath;
@class NSMutableDictionary;
@class NSNib;
@class NSSet;
@ -161,6 +162,7 @@ typedef NSInteger NSCollectionUpdateAction;
{
NSCollectionView *_collectionView; // weak
BOOL _valid;
NSMutableDictionary *_itemsToAttributes;
Class _layoutAttributesClass;
Class _invalidationContextClass;