UIViewController-Popup 0.0.4

UIViewController-Popup 0.0.4

litt1e-p 维护。



  • litt1e-p

UIViewController-PopUp

用于弹出带有动画效果的另一个 ViewController 的 UIViewController 扩展

功能

可以自定义弹出的任何 viewController,它只执行一些动画效果

附加功能

OC 版本

使用

  //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)

安装

  • 使用 CocoaPods
pod 'UIViewController-Popup', '~> 0.0.2'
  • 手动导入
just download lib folder and add into your project

截图

  • 缩放效果

  • 放大效果

  • 翻转向上效果

  • 翻转向下效果

发布说明

  • 0.0.2

支持 Swift 4.0。

  • 0.0.1

发布第一个版本。