File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
Sources/IBPCollectionViewCompositionalLayout Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -456,6 +456,7 @@ - (UICollectionView *)setupOrthogonalScrollViewForSection:(IBPNSCollectionLayout
456456 IBPNSCollectionLayoutSection *orthogonalSection = section.copy ;
457457 orthogonalSection.contentInsets = IBPNSDirectionalEdgeInsetsZero;
458458 orthogonalSection.boundarySupplementaryItems = @[];
459+ orthogonalSection.decorationItems = @[];
459460 orthogonalSection.orthogonalScrollingBehavior = IBPUICollectionLayoutSectionOrthogonalScrollingBehaviorNone;
460461
461462 IBPNSCollectionLayoutSize *orthogonalGroupSize = section.group .layoutSize ;
@@ -487,15 +488,6 @@ - (UICollectionView *)setupOrthogonalScrollViewForSection:(IBPNSCollectionLayout
487488 configuration: configuration];
488489 collectionViewLayout.parent = self;
489490 collectionViewLayout.containerSection = section;
490-
491- NSDictionary *decorationClassDict = @{};
492- @try {
493- decorationClassDict = [[self valueForKey: @" _decorationViewClassDict" ] copy ];
494- } @catch (NSException *exception) {}
495- for (NSString *reuseIdentifier in decorationClassDict) {
496- Class cellClass = decorationClassDict[reuseIdentifier];
497- [collectionViewLayout registerClass: cellClass forDecorationViewOfKind: reuseIdentifier];
498- }
499491
500492 IBPCollectionViewOrthogonalScrollerEmbeddedScrollView *scrollView = [[IBPCollectionViewOrthogonalScrollerEmbeddedScrollView alloc ] initWithFrame: CGRectZero
501493 collectionViewLayout: collectionViewLayout];
You can’t perform that action at this time.
0 commit comments