Created
November 15, 2017 15:07
-
-
Save gwennguihal/9516bcedf372f22f52fced79bbf07db4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| override func prepare(forCollectionViewUpdates updateItems: [UICollectionViewUpdateItem]) { | |
| super.prepare(forCollectionViewUpdates: updateItems) | |
| decorationViewHandler.prepare(forCollectionViewUpdates: updateItems) | |
| } | |
| override func indexPathsToInsertForDecorationView(ofKind elementKind: String) -> [IndexPath] { | |
| return decorationViewHandler.inserted(for: elementKind) | |
| } | |
| override func indexPathsToDeleteForDecorationView(ofKind elementKind: String) -> [IndexPath] { | |
| return decorationViewHandler.deleted(for: elementKind) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment