Skip to content

Commit

Permalink
fix: Compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikPetho committed Jun 14, 2021
1 parent 1a771bd commit d94bde9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.1.0] 14.6.2021
### fix
- compilation error

## [0.0.9] 14.6.2021
### Added
- `configureShouldDeselectItem` and `configureShouldSelectItem` for the `GRCollectionVIewProvider` to make a proxy around datasource methods
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ open class GRCollectionViewProvider<Section: Sectionable>:
public typealias SectionInsetProvider = (GRCollectionViewProvider, UICollectionView, Section) -> UIEdgeInsets
public typealias ItemSelectionProvider = (GRCollectionViewProvider, UICollectionView, IndexPath, Section.Item) -> ()
public typealias MinLineSpacingProvider = (GRCollectionViewProvider, UICollectionView, Section) -> CGFloat
public typealias ItemSelectionStateApprovalProvider = (GRDiffableCollectionViewProvider<Section>, UICollectionView, IndexPath, Section) -> (Bool)
public typealias ItemSelectionStateApprovalProvider = (GRCollectionViewProvider, UICollectionView, IndexPath, Section) -> (Bool)

public typealias ScrollProvider = (UIScrollView) -> ()
public typealias DidEndDraggingProvider = (UIScrollView, Bool) -> ()
Expand Down Expand Up @@ -236,8 +236,7 @@ open class GRCollectionViewProvider<Section: Sectionable>:
}

open func collectionView(
_ collectionView: UICollectionView, l
ayout collectionViewLayout: UICollectionViewLayout,
_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout,
minimumInteritemSpacingForSectionAt section: Int
) -> CGFloat {
return configureMinInteritemSpacingForSection?(
Expand Down

0 comments on commit d94bde9

Please sign in to comment.