Skip to content

Latest commit

 

History

History
67 lines (42 loc) · 1.29 KB

README.md

File metadata and controls

67 lines (42 loc) · 1.29 KB

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.