开源软件名称:PopView
开源软件地址:https://gitee.com/chengfeisoft/PopView
开源软件介绍:
DescriptionRequirements- iOS 8.0+ / Mac OS X 10.9+ / tvOS 9.0+ / watchOS 2.0+
- Xcode 7.1+
How to use PageMenulet v = PopBottomView(frame: self.view.bounds)v.dataSource = selfv.delegate = selfv.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() CustomizationThere 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 |
请发表评论