Latest0.0.3
Homepagehttps://github.com/labi3285/QXMaskView
LicenseMIT
Platformsios 8.0, requires ARC
Authors

A easy use and customize mask view shower.

install

pod search QXMaskView

how to use?

QXMaskView

extension DemoView: QXMaskViewContentViewProtocol {
    func qxMaskViewContentViewFrame(for maskViewFrame: CGRect) -> CGRect {
        return CGRect(x: 0, y: maskViewFrame.height - 200, width: maskViewFrame.width, height: 200)
    }
    func qxMaskViewContentViewPrepareCancelContext(handler: @escaping (() -> ())) {
        self.respondCancel = handler
    }
}
let view = DemoView()
QXMaskViewController.makeupAndPresent(contentView: view, onVc: self)

Have fun!

Latest podspec

{
    "name": "QXMaskView",
    "version": "0.0.3",
    "summary": "A easy use and customize mask view shower in swift.",
    "description": "Fix a carsh bug when phone is low power.",
    "homepage": "https://github.com/labi3285/QXMaskView",
    "license": "MIT",
    "authors": {
        "labi3285": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/labi3285/QXMaskView.git",
        "tag": "0.0.3"
    },
    "source_files": "QXMaskView/QXMaskView/*.swift",
    "requires_arc": true
}

Pin It on Pinterest

Share This