Latest 0.2.2
Homepage https://github.com/corin8823/PopupCollectionViewController
License MIT
Platforms ios 8.0, requires ARC
Authors

CI Status
Version
License
Platform

Description and appetize.io`s DEMO

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

let popupVC = PopupCollectionViewController(fromVC: self)
popupVC.presentViewControllers([UIViewController()], completion: nil)

Custom

let popupVC = PopupCollectionViewController(fromVC: self)
popupVC.presentViewControllers([UIViewController(), UIViewController()],
    options: [
        .cellWidth(self.view.bounds.width),
        .popupHeight(400),
        .contentEdgeInsets(0),
        .layout(.center),
        .animation(.slideLeft)
    ],
    completion: nil)

Requirements

  • iOS 8.0+
  • swift 3.0

If you use Swift 2.2 or 2.3, try PopupCollectionViewController 0.0.1.

Installation

PopupCollectionViewController is available through CocoaPods. To install
it, simply add the following line to your Podfile:

use_frameworks!
pod "PopupCollectionViewController"

Customization

  • case layout(PopupCollectionViewController.PopupLayout)
  • case animation(PopupCollectionViewController.PopupAnimation)
  • case overlayLayer(CALayer)
  • case popupHeight(CGFloat)
  • case cellWidth(CGFloat)
  • case contentEdgeInsets(CGFloat)

Acknowledgments

Inspired by PopupController in daisuke310vvv

License

PopupCollectionViewController is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "PopupCollectionViewController",
    "version": "0.2.2",
    "summary": "PopupCollectionViewController is a collectionView in Popup view",
    "homepage": "https://github.com/corin8823/PopupCollectionViewController",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "corin8823": "[email protected]"
    },
    "source": {
        "git": "https://github.com/corin8823/PopupCollectionViewController.git",
        "tag": "0.2.2"
    },
    "social_media_url": "https://twitter.com/corin8823",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This