TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Nov 2016 |
SPMSupports SPM | ✗ |
Maintained by 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
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)
Tae Woo Kang, http://magicmon.tistory.com
TWSlidingView is available under the MIT License. See the LICENSE file for more info.