Skip to content

an extension of UIViewController for poping up a another ViewController with animation effects

License

Notifications You must be signed in to change notification settings

litt1e-p/UIViewController-PopUp

Repository files navigation

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

OC version

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.4'
  • manual import
just download lib folder and add into your project

Screenshot

  • ZoomIn effect

  • ZoomOut effect

  • FlipUp effect

  • FlipDown effect

Release notes

  • 0.0.4

the popup view can be dismissed everywhere now

  • 0.0.3

fix bug of nil VisualEffectView

  • 0.0.2

support swift 4.0.

  • 0.0.1

release first version.

About

an extension of UIViewController for poping up a another ViewController with animation effects

Resources

License

Stars

Watchers

Forks

Packages

No packages published