Swiftpack.co - Vignesh-Thangamariappan/CustomViewPresenter as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Vignesh-Thangamariappan.
Vignesh-Thangamariappan/CustomViewPresenter v1.0(0.1.12)
A simple and customizable pod to adaptively present your views with a smooth and interactive transition.
⭐️ 0
🕓 2 years ago
iOS
.package(url: "https://github.com/Vignesh-Thangamariappan/CustomViewPresenter.git", from: "v1.0(0.1.12)")

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

[email protected], [email protected]

License

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

GitHub

link
Stars: 0
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Initial Release
4 years ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics