1 Star 0 Fork 3

ichinascope / PopView

forked from HENG CHENGFEI / PopView 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Description

输入图片说明

Requirements

  • iOS 8.0+ / Mac OS X 10.9+ / tvOS 9.0+ / watchOS 2.0+
  • Xcode 7.1+

How to use PageMenu

let v = PopBottomView(frame: self.view.bounds)
v.dataSource = self
v.delegate = self
v.showInView(self.view)

1) Delegate Methods

In order to use the delegate methods first set the delegate of pop view to the parent view controller when setting it up

Swift

// Optional delegate 
popBottomView.delegate = self

After that you will be able to set up the following delegate methods inside of your parent view controller

optional func viewWillAppear()

optional func viewWillDisappear()

Customization

There are many ways you are able to customize pop view for your needs and there will be more customizations coming in the future to make sure pop view conforms to your app design. These will all be properties in PopView that can be changed from your base view controller. (Property names given with each item below)

1) Background

  • Background color behind the pop view to blend in view controller backgrounds

    optional func isEffectView() -> Bool

空文件

简介

从底部弹出自定义的View 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/ichinascope/PopView.git
git@gitee.com:ichinascope/PopView.git
ichinascope
PopView
PopView
master

搜索帮助