Slide-up UIScrollView/UITableView that can be Scrolled Continuously after reached to top edge by Dragging
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Pods
SeamlessSlideUpScrollView
SeamlessSlideUpScrollViewDemo.xcodeproj
SeamlessSlideUpScrollViewDemo.xcworkspace
SeamlessSlideUpScrollViewDemo
Sources
screenshots
.gitignore
.swift-version
LICENSE
Podfile
Podfile.lock
README.md
SeamlessSlideUpScrollView.podspec

README.md

SeamlessSlideUpScrollView

Swift Swift Carthage compatible Version License Platform

###Screen Shots Slide Up | Seamless Edge Dragg & Scroll | Slide Down after Scroll --- | --- | --- screen_slideup | screen_edge | screen_slidedown

###Usage

import UIKit
import SeamlessSlideUpScrollView

class ViewController: UIViewController {

    @IBOutlet weak var slideUpView: SeamlessSlideUpView!
    @IBOutlet var tableView: SeamlessSlideUpTableView!

    override func viewDidLoad() {
        super.viewDidLoad()
        
        // If the slide-up view is SeamlessSlideUpTableView
        self.slideUpView.tableView = tableView
        
        // If the slide-up view is SeamlessSlideUpScrollView
        //self.slideUpView.scrollView = scrollView 
        
        self.slideUpView.delegate = self
    }
    
    @IBAction func showSlideUpView(sender: AnyObject) {
        self.slideUpView.show()
    }
}

extension ViewController: SeamlessSlideUpViewDelegate {
    func slideUpViewWillAppear(slideUpView: SeamlessSlideUpView, height: CGFloat) {
    }
    
    func slideUpViewDidAppear(slideUpView: SeamlessSlideUpView, height: CGFloat) {
    }
    
    func slideUpViewWillDisappear(slideUpView: SeamlessSlideUpView) {
    }
    
    func slideUpViewDidDisappear(slideUpView: SeamlessSlideUpView) {
    }
    
    func slideUpViewDidDrag(slideUpView: SeamlessSlideUpView, height: CGFloat) {
    }
}
  • SeamlessSlideUpView must be added and cover on top of the all views.
  • SeamlessSlideUpTableView need not be attached to any superview. It'll be automatically added to SeamlessSlideUpView.

Installation

CocoaPods

Swift 3

pod 'SeamlessSlideUpScrollView'

Swift 2.3

pod 'SeamlessSlideUpScrollView' => '~>1'

Carthage

github "inkyfox/SeamlessSlideUpScrollView"

Author

Yongha Yoo

License

MIT