Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup Sample App + Fixed “disapearing bricks” #144

Merged
merged 1 commit into from
Jul 7, 2017

Conversation

rubencagnie
Copy link
Contributor

  • Cleanup the sample app. Mainly update protocols that changed function signatures, but had a default implementation, so the compiler didn’t complain
  • Fixed a weird behavior when bricks would disappear when the estimated height of a brick was much bigger than the actual brick. This is solved by setting the invalidateItems to nil, so the collectionView will fetch the layoutAttributes again

Fixes #142

- Cleanup the sample app. Mainly update protocols that changed function signatures, but had a default implementation, so the compiler didn’t complain
- Fixed a weird behavior when bricks would disappear when the estimated height of a brick was much bigger than the actual brick. This is solved by setting the `invalidateItems` to nil, so the collectionView will fetch the layoutAttributes again

Fixes #142
@rubencagnie rubencagnie force-pushed the 142-fix-sample-app branch from 6f71d7a to bed9285 Compare July 7, 2017 03:27
@codecov-io
Copy link

codecov-io commented Jul 7, 2017

Codecov Report

❗ No coverage uploaded for pull request base (master@87c2208). Click here to learn what that means.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #144   +/-   ##
=========================================
  Coverage          ?   93.35%           
=========================================
  Files             ?       38           
  Lines             ?     3144           
  Branches          ?        0           
=========================================
  Hits              ?     2935           
  Misses            ?      209           
  Partials          ?        0
Impacted Files Coverage Δ
Source/Bricks/Collection/CollectionBrick.swift 84.31% <100%> (ø)
Source/Layout/BrickLayoutInvalidationContext.swift 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 87c2208...bed9285. Read the comment docs.

@jay18001 jay18001 merged commit 5262744 into master Jul 7, 2017
@jay18001 jay18001 deleted the 142-fix-sample-app branch July 7, 2017 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants