Skip to content

Commit f595f1e

Browse files
author
Bartosz Dolewski
authored
Merge pull request #2 from bdolewski/develop
Improved README
2 parents 01d866e + f890262 commit f595f1e

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
# BDFadingScrollView
2-
It's Swift-ified fork of stephsharp/SSFadingScrollView
2+
It's Swift-ified fork of [SSFadingScrollView](https://github.com/stephsharp/SSFadingScrollView)
33

44

55
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.
66

7+
## Screenshots by [Stephanie Sharp](https://github.com/stephsharp)
8+
79
![SSFadingScrollView screenshots](SSFadingScrollView.png)
810

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

2022
##### fadeLeadingEdge
2123

22-
Fade leading edge of fade axis. Default is YES.
24+
Fade leading edge of fade axis. Default is `true`.
2325

2426
##### fadeTrailingEdge
2527

26-
Fade trailing edge of fade axis. Default is YES.
28+
Fade trailing edge of fade axis. Default is `true`.
2729

2830
##### fadeSize
2931

30-
Size of gradient. Default is 30.
32+
Size of gradient. Default is `30`.
3133

3234
##### fadeDuration
3335

34-
Duration of fade in & out. Default is 0.3 seconds.
36+
Duration of fade in & out. Default is `0.3` seconds.
3537

3638
##### maskScrollBars
3739

38-
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.
40+
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.
3941

4042
## Installation
4143

SSFadingScrollView.png

546 KB
Loading

0 commit comments

Comments
 (0)