[Gallery layout] Include the caller in properties providing methods (#533)

* Include the caller in ASCollectionGalleryLayoutPropertiesProviding's methods

* Update CHANGELOG.md
This commit is contained in:
Huy Nguyen
2017-09-08 17:05:06 +01:00
committed by GitHub
parent 53e99cc762
commit d4b1f625aa
5 changed files with 23 additions and 13 deletions

View File

@@ -112,7 +112,7 @@
#pragma mark - ASCollectionGalleryLayoutPropertiesProviding
- (CGSize)sizeForElements:(ASElementMap *)elements
- (CGSize)galleryLayoutDelegate:(ASCollectionGalleryLayoutDelegate *)delegate sizeForElements:(ASElementMap *)elements
{
ASDisplayNodeAssertMainThread();
return CGSizeMake(180, 90);