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

Feature scroll view manager #652

Merged
merged 4 commits into from
Jun 13, 2017
Merged

Feature scroll view manager #652

merged 4 commits into from
Jun 13, 2017

Conversation

zenangst
Copy link
Owner

@zenangst zenangst commented Jun 13, 2017

This improves the implementation for constraining horizontally scrollable components to not be vertically scrollable. It introduces the ScrollViewManager which handles the constraints plus the
positioning of headers and footer views inside of a component.

I moved the code out of the delegate implementation to make it easier to test.

This improves the implementation for constraining horizontally
scrollable components to not be vertically scrollable. It introduces
the ScrollViewManager which handles the constraints plus the
positioning of headers and footer views inside of a component.
Removes the knowledge about SpotScrollView in ScrollViewManager.
Adds test for ScrollViewManager constraint method.
@mention-bot
Copy link

@zenangst, thanks for your PR! By analyzing the history of the files in this pull request, we identified @JohnSundell to be a potential reviewer.

@codecov-io
Copy link

codecov-io commented Jun 13, 2017

Codecov Report

Merging #652 into master will increase coverage by 0.07%.
The diff coverage is 73.52%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #652      +/-   ##
==========================================
+ Coverage   87.57%   87.65%   +0.07%     
==========================================
  Files         126      128       +2     
  Lines       10338    10413      +75     
==========================================
+ Hits         9054     9128      +74     
- Misses       1284     1285       +1
Flag Coverage Δ
#ios 89.33% <73.52%> (+0.08%) ⬆️
#osx 90.57% <ø> (ø) ⬆️
#tvos 80.59% <0%> (-0.71%) ⬇️
Impacted Files Coverage Δ
Sources/Shared/Classes/Delegate.swift 100% <ø> (ø) ⬆️
SpotsTests/iOS/ScrollViewManagerTests.swift 100% <100%> (ø)
Sources/iOS/Classes/ScrollViewManager.swift 43.18% <43.18%> (ø)
...ces/iOS/Extensions/Delegate+iOS+UIScrollView.swift 48.24% <50%> (+8.82%) ⬆️

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 97705e1...54471f8. Read the comment docs.

Copy link
Collaborator

@vadymmarkov vadymmarkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great 👍

@zenangst zenangst merged commit 431681a into master Jun 13, 2017
@zenangst zenangst deleted the feature/scroll-view-manager branch June 13, 2017 07:50
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.

None yet

4 participants