TWSlidingView 0.2.0

TWSlidingView 0.2.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Nov 2016
SPMSupports SPM

Maintained by TWSlidingView.



  • By
  • magicmon

TWSlidingView

create a slide animation on the UIView.

like a android screen slide style(viewPager animation)
https://developer.android.com/training/animation/screen-slide.html

to provide three style.
Normal
ZoomOut
Depth

Demo

Demo

Usage

let slidingView = TWSlidingView(frame: CGRectMake(0, 0, self.view.bounds.width, self.view.bounds.height))
slidingView.slidingType = .ZoomOut
self.view.addSubview(slidingView)

add subView in slidingView

let sampleView = UIView(frame: slidingView.bounds)
sampleView.backgroundColor = UIColor.greenColor()
slidingView.addChildView(sampleView)

Author

Tae Woo Kang, http://magicmon.tistory.com

LICENSE

TWSlidingView is available under the MIT License. See the LICENSE file for more info.