/ ViewPager

Сustomized pull board based on your view

Сustomized pull board based on your view

AYPullBoard

AYPullBoardView - help you to display additional information for the user, or get some data from him in a separate interactive view.

Installation

AYPullBoardView is available through CocoaPods. To install
it, simply add the following line to your Podfile:

inhibit_all_warnings!

target 'YOUR_TARGET_NAME' do
  use_frameworks!
	pod 'AYPullBoardView'
end

Usage

expl

// '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

GitHub