Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

CustomViewPresenter

Version License Platform

Features

This library allows you to interactively present your screen with an expandable bottom presenter.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

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

pod 'CustomViewPresenter'

Implementation

It is very simple to implement. Make use this method from your view controller to present any view with this Custom Presenter.

interactivelyPresent(viewControllerToPresent, isAnimated, completionBlock)

You can also customize the appearance of the background view whilst presenting. By default, the background will be blurred but the size will not be adjusted.

shouldBlurBackground: Bool
shouldTransformBackgroundView: Bool

You can also customize the appearance of the view by using this method. You can set the 'shouldBeMaximized' property to true to load the view in full screen.

interactivelyPresent(viewControllerToPresent, isAnimated, completionBlock, shouldBeMaximised)

Author

vignesh.mariappan@anywhere.co, vignesh.mariappan@anywhere.co

License

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

About

A simple and customizable pod to adaptively present your views with a smooth and interactive transition.

Resources

License

Packages

No packages published