Latest 0.0.4
Homepage https://github.com/litt1e-p/UIViewController-PopUp
License MIT
Platforms ios 9.0, requires ARC
Dependencies VisualEffectView
Frameworks Foundation, UIKit
Authors

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

UIViewController-Popup

  • ZoomOut effect

UIViewController-Popup

  • FlipUp effect

UIViewController-Popup

  • FlipDown effect

UIViewController-Popup

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.

Latest podspec

{
    "name": "UIViewController-Popup",
    "version": "0.0.4",
    "summary": "UIViewController extension for poping up an another ViewController with animation effects",
    "description": "an extension of UIViewController for poping up an another ViewController with animation effects in swift",
    "homepage": "https://github.com/litt1e-p/UIViewController-PopUp",
    "license": {
        "type": "MIT"
    },
    "authors": {
        "litt1e-p": "[email protected]"
    },
    "source": {
        "git": "https://github.com/litt1e-p/UIViewController-PopUp.git",
        "tag": "0.0.4"
    },
    "platforms": {
        "ios": "9.0"
    },
    "requires_arc": true,
    "source_files": "UIViewController-PopUp/*",
    "dependencies": {
        "VisualEffectView": [
            "3.0.0"
        ]
    },
    "frameworks": [
        "Foundation",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This