5 Unstar Star 7 Fork 3

chengfei.heng / PopView

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

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

Comments ( 0 )

Sign in for post a comment

About

从底部弹出自定义的View spread retract
Cancel

Releases

No release

Gitee Metrics

Contributors

All

Activities

load more
can not load any more
Swift
1
https://gitee.com/chengfeisoft/PopView.git
git@gitee.com:chengfeisoft/PopView.git
chengfeisoft
PopView
PopView
master

Search

190622 32b11934 1899542 190632 884178f9 1899542