AYPullBoard

Сustomized pull board based on your view.


Keywords
animation, custom-element, ios, swift, uicomponent, uiview
License
MIT
Install
pod try AYPullBoard

Documentation

AYPullBoard

CI Status Version License Platform

About

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

Demo

Usage

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

// toggling the state (without animation)
pullContentView.isExpanded = true 

// toggling the state (with animation)
pullContentView.setIsExpanded(true, animated: true)

Author

📧 Anton Yereshchenko

License

AYPullBoardView is available under the MIT license. See the LICENSE file for more info.

Used in project

Icons & photos:

Icons8 - https://icons8.com