Latest 1.0.4
Homepage https://github.com/TangledHusky/SwiftPopMenu
License MIT
Platforms ios 8.0
Authors

效果图:

image


 导入项目:

– pods导入:pod 'SwiftPopMenu'

– 文件导入:下载Demo,导入SwiftPopMenu.swift文件即可

– 代码现已支持 Swift3 语法

 使用介绍:

import SwiftPopMenu

 1、初始化位置

        //frame 为整个popview相对整个屏幕的位置  箭头距离右边位置,默认15
        //popMenu =  SwiftPopMenu(frame: CGRect(x: KSCREEN_WIDTH - 155, y: 51, width: 150, height: 112))

        //frame 为整个popview相对整个屏幕的位置 arrowMargin :指定箭头距离右边距离
        popMenu = SwiftPopMenu(frame:  CGRect(x: KSCREEN_WIDTH - 155, y: 51, width: 150, height: 112), arrowMargin: 12)

  


Latest podspec

{
    "name": "SwiftPopMenu",
    "version": "1.0.4",
    "summary": "easy use SwiftPopMenu on iOS",
    "description": "easy use SwiftPopMenu on iOSuff0cuse by readme",
    "homepage": "https://github.com/TangledHusky/SwiftPopMenu",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "TangledHusky": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/TangledHusky/SwiftPopMenu.git",
        "tag": "v1.0.4"
    },
    "source_files": "SwiftPopMenu/*.{swift}",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This