Latest 1.0.5
Homepage https://github.com/DominatorVbN/SlideUpPanel
License MIT
Platforms ios 12.0
Authors

SlideUpPanel is a custom UIViewController.
This is a designed Show a Slide Up Panel.

SlideUpPanel

Prerequisites

  1. Xcode 9+
  2. ios 11.0+
  3. swift 4+
  4. Cocopods.

Installing

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

CocoaPods 1.1.0+ is required to build SlideUpPanel.

To integrate SlideUpPanel into your Xcode project using CocoaPods, specify it in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!

target '<Your Target Name>' do
pod 'SlideUpPanel'
end

Then, run the following command:

$ pod install

Usage

import SlideUpPanel


With custom view

var cardViewController : SlideUpPanel!
cardViewController = SlideUpPanel(vc: self, cardHeight: nil)
self.addChild(cardViewController)
self.view.addSubview(cardViewController.view)

With Viewcontroller

var cardViewController : SlideUpPanel!
cardViewController = SlideUpPanel(vc: self, cardHeight: nil)
let vc = self.storyboard?.instantiateViewController(withIdentifier: "MyViewController") as! MyViewController
cardViewController.setViewControllerAsContent(controller: vc)
self.addChild(cardViewController)
self.view.addSubview(cardViewController.view)

Enable/Diable CornerRadiusAnimation

cardViewController.isCornerRadiusAnimatorOn = false

cardViewController.isCornerRadiusAnimatorOn = true

Setting initial corner radius

cardViewController.initialCornerRadius = 12

License

This project is licensed under the MIT License – see the LICENSE.md file for details

Latest podspec

{
    "name": "SlideUpPanel",
    "version": "1.0.5",
    "summary": "SlideUpPanel is a custom control.",
    "description": "With use of SlideUpPanel we can implement Google map like slide up panel in ios.",
    "homepage": "https://github.com/DominatorVbN/SlideUpPanel",
    "screenshots": "https://raw.githubusercontent.com/DominatorVbN/SlideUpPanel/master/SlideUpPanel.gif",
    "license": "MIT",
    "authors": {
        "DominatorVbN": "[email protected]"
    },
    "platforms": {
        "ios": "12.0"
    },
    "source": {
        "git": "https://github.com/DominatorVbN/SlideUpPanel.git",
        "tag": "1.0.5"
    },
    "source_files": "SlideUpPanel/**/*.{swift}",
    "swift_version": "4.2"
}

Pin It on Pinterest

Share This