UIViewController-PopUp
an extension of UIViewController for poping up a another ViewController with animation effects
Feature
Fully customizable the poping up any viewController, it just do some animated effects
Additional
Usage
//custom your target poping up viewController anything you want, such as its bound size ...
let pv = UIViewController()
pv.view.frame = CGRect(x: 0, y: 0, width: 300, height: 400)
// set a type for poping up animation effect
popUpEffectType = .flipDown //.zoomIn(default)/.zoomOut/.flipUp/.flipDown
presentPopUpViewController(pv)
Install
- use cocoapods
pod 'UIViewController-Popup', '~> 0.0.2'
- manual import
just download lib folder and add into your project
Screenshot
- ZoomIn effect
- ZoomOut effect
- FlipUp effect
- FlipDown effect
Release notes
- 0.0.2
support swift 4.0.
- 0.0.1
release first version.