Skip to content

Commit

Permalink
Merge pull request #2 from bdolewski/develop
Browse files Browse the repository at this point in the history
Improved README
  • Loading branch information
Bartosz Dolewski authored Mar 9, 2020
2 parents 01d866e + f890262 commit f595f1e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# BDFadingScrollView
It's Swift-ified fork of stephsharp/SSFadingScrollView
It's Swift-ified fork of [SSFadingScrollView](https://github.com/stephsharp/SSFadingScrollView)


A UIScrollView subclass that fades the leading and/or trailing edges of a scroll view to transparent. It animates the gradient in and out based on the current content offset, and uses a mask to fade the scroll view content without also fading the scroll bars.

## Screenshots by [Stephanie Sharp](https://github.com/stephsharp)

![SSFadingScrollView screenshots](SSFadingScrollView.png)

## Features
Expand All @@ -19,23 +21,23 @@ A UIScrollView subclass that fades the leading and/or trailing edges of a scroll

##### fadeLeadingEdge

Fade leading edge of fade axis. Default is YES.
Fade leading edge of fade axis. Default is `true`.

##### fadeTrailingEdge

Fade trailing edge of fade axis. Default is YES.
Fade trailing edge of fade axis. Default is `true`.

##### fadeSize

Size of gradient. Default is 30.
Size of gradient. Default is `30`.

##### fadeDuration

Duration of fade in & out. Default is 0.3 seconds.
Duration of fade in & out. Default is `0.3` seconds.

##### maskScrollBars

Default is YES. Scroll bars are masked so they don't fade with the scroll view content. Set to NO to fade out the scroll bars along with the content.
Default is `true`. Scroll bars are masked so they don't fade with the scroll view content. Set to `false` to fade out the scroll bars along with the content.

## Installation

Expand Down
Binary file added SSFadingScrollView.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f595f1e

Please sign in to comment.