Skip to content

Commit 1c2ece9

Browse files
format fixes
1 parent e23c825 commit 1c2ece9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Sources/CombineDataSources/CollectionView/CollectionViewItemsController.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class CollectionViewItemsController<CollectionType>: NSObject, UICollecti
1818

1919
public typealias Element = CollectionType.Element.Element
2020
public typealias CellFactory<Element: Equatable> = (CollectionViewItemsController<CollectionType>, UICollectionView, IndexPath, Element) -> UICollectionViewCell
21-
public typealias SupplementaryViewFactory = (CollectionViewItemsController<CollectionType>, UICollectionView, String, IndexPath, CollectionType.Element) -> UICollectionReusableView
21+
public typealias SupplementaryViewFactory = (CollectionViewItemsController<CollectionType>, UICollectionView, String, IndexPath, CollectionType.Element) -> UICollectionReusableView
2222
public typealias CellConfig<Element, Cell> = (Cell, IndexPath, Element) -> Void
2323

2424
private let cellFactory: CellFactory<Element>
@@ -101,9 +101,9 @@ public class CollectionViewItemsController<CollectionType>: NSObject, UICollecti
101101
cellFactory(self, collectionView, indexPath, collection[indexPath.section][indexPath.row])
102102
}
103103

104-
public func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> UICollectionReusableView {
105-
return configureSupplementaryView!(self, collectionView, kind, indexPath, collection[indexPath.section])
106-
}
104+
public func collectionView(_ collectionView: UICollectionView, viewForSupplementaryElementOfKind kind: String, at indexPath: IndexPath) -> UICollectionReusableView {
105+
return configureSupplementaryView!(self, collectionView, kind, indexPath, collection[indexPath.section])
106+
}
107107

108108
// MARK: - Fallback data source object
109109
override public func forwardingTarget(for aSelector: Selector!) -> Any? {

0 commit comments

Comments
 (0)