ashfurrow / ARCollectionViewMasonryLayout

MIT License
185 stars 16 forks source link

Crashes when collection view does not have a height set. #30

Open alloy opened 8 years ago

alloy commented 8 years ago

https://github.com/ashfurrow/ARCollectionViewMasonryLayout/blob/18484232f5a68ed70d22a1a2752762ae8b20ec89/_ARCollectionViewMasonryAttributesGrid.m#L170

2016-02-20 12:00:17.462 EmbedInExistingNavigationStack[49301:19970305] *** Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [288.5 nan]'
ashfurrow commented 8 years ago

I had this happen in some snapshot tests. Will try to have a look today.