AYPullBoard
关于
AYPullBoardView - 帮助您在独立的交互视图中显示额外的用户信息,或从用户那里获取某些数据。
安装
AYPullBoardView 通过 CocoaPods 提供。要安装它,请将以下行添加到您的 Podfile 中
inhibit_all_warnings!
target 'YOUR_TARGET_NAME' do
use_frameworks!
pod 'AYPullBoardView'
end
演示
使用方法
// 'pullContentView' - object of 'AYPullBoardView' type.
// 'itemView' - UIView that should be located on 'pullContentView'.
pullContentView.add(view: itemView)
pullContentView.setInitialYPercentBoard(position: 0.8)
pullContentView.setFinalYPercentBoard(position: 0.2)
/* OR
pullContentView.setInitialYValueBoard(position: 500)
pullContentView.setFinalYValueBoard(position: 64)
*/
pullContentView.movingAnimationDuration = 0.64
pullContentView.draggingAnimationDuration = 0.16
作者
许可证
AYPullBoardView遵循MIT许可证。更多信息见LICENSE文件。
在项目中的应用
图标 & 图片
Icons8 - https://icons8.com