Skip to content

vincentvillalta/FadedScrollView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

FadedScrollView

N|Solid

Simple way to make a scrollview or scrollview subclases to fade at bottom or top (UITableView/UIScrolView/UITextView...)

Example

Installation

Just drag FadedScrollView.swift into your project

Usage

let fadedScroll = FadedScrollView(frame: self.scrollView.bounds)
fadedScroll.fadeBottom = true
fadedScroll.fadeTop = false
fadedScroll.fadeSize = 45.0
self.scrollView = fadedScroll

// You can apply it to any ScrollView Subclass
self.tableView.scrollView = fadedScroll
self.textView.scrollView = fadedScroll

Or you can basically use the interface builder to change the UIScrollView Class and its parameters

Todos

  • support cocoapods

License


MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages