All Projects → tungvoduc → Dtoverlaycontroller

tungvoduc / Dtoverlaycontroller

Licence: mit
A customizable and easy-to-use overlay view controller container.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Dtoverlaycontroller

BJOTPViewController
Entering OTP made simpler.
Stars: ✭ 42 (-48.78%)
Mutual labels:  uikit, swift-package-manager, viewcontroller
Swifterswift
A handy collection of more than 500 native Swift extensions to boost your productivity.
Stars: ✭ 10,706 (+12956.1%)
Mutual labels:  swift-package-manager, uikit
Overlap
Tiny iOS library to achieve overlap visual effect
Stars: ✭ 133 (+62.2%)
Mutual labels:  uikit, overlay
column-text-view-ui
📄 Column Text View is an adaptive UI component that renders text in columns, horizontally [iOS 12, UIKit, TextKit, SwiftUI].
Stars: ✭ 11 (-86.59%)
Mutual labels:  uikit, swift-package-manager
Tweetextfield
Lightweight set of text fields with nice animation and functionality. 🚀 Inspired by https://uimovement.com/ui/2524/input-field-help/
Stars: ✭ 421 (+413.41%)
Mutual labels:  swift-package-manager, uikit
CurrencyText
Currency text field formatter available for UIKit and SwiftUI 💶✏️
Stars: ✭ 124 (+51.22%)
Mutual labels:  uikit, swift-package-manager
SwiftCurrent
A library for managing complex workflows in Swift
Stars: ✭ 286 (+248.78%)
Mutual labels:  uikit, swift-package-manager
Statusalert
Display Apple system-like self-hiding status alerts. It is well suited for notifying user without interrupting user flow in iOS-like way.
Stars: ✭ 809 (+886.59%)
Mutual labels:  swift-package-manager, uikit
Dtgradientbutton
Easy way to set gradient background to your buttons.
Stars: ✭ 76 (-7.32%)
Mutual labels:  swift-package-manager, uikit
Onboardkit
Customisable user onboarding for your iOS app
Stars: ✭ 334 (+307.32%)
Mutual labels:  uikit, viewcontroller
Overlaycontainer
Non-intrusive iOS UI library to implement overlay based interfaces
Stars: ✭ 777 (+847.56%)
Mutual labels:  uikit, overlay
Bfkit Swift
BFKit-Swift is a collection of useful classes, structs and extensions to develop Apps faster.
Stars: ✭ 963 (+1074.39%)
Mutual labels:  swift-package-manager, uikit
Loadingshimmer
An easy way to add a shimmering effect to any view with just one line of code. It is useful as an unobtrusive loading indicator.
Stars: ✭ 1,180 (+1339.02%)
Mutual labels:  swift-package-manager
Spasibo
🙏 Support your favourite open source projects
Stars: ✭ 78 (-4.88%)
Mutual labels:  swift-package-manager
Uikit Computer Store Template
Computer store e-commerce template
Stars: ✭ 72 (-12.2%)
Mutual labels:  uikit
Fruity
Rusty bindings for Apple libraries
Stars: ✭ 72 (-12.2%)
Mutual labels:  uikit
Kde
[MIRROR] KDE team's testing overlay
Stars: ✭ 80 (-2.44%)
Mutual labels:  overlay
Dikit
Dependency Injection Framework for Swift, inspired by KOIN.
Stars: ✭ 77 (-6.1%)
Mutual labels:  swift-package-manager
Fhirmodels
Swift library for FHIR® resource data models
Stars: ✭ 71 (-13.41%)
Mutual labels:  swift-package-manager
Screenadaptationkit
🎨iOS rapidScreen Compatible AdapterKit(Deprecate)
Stars: ✭ 70 (-14.63%)
Mutual labels:  uikit

DTOverlayController

CI Status Version License Platform

Screenshots

|||

Example

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

Usage

To present a view controller inside an over lay controller, simply do in your view controller:

let overlayController = DTOverlayController(viewController: viewController)
present(overlayController, animated: true, completion: nil)

There are other properties that you can use to customize your over lay controller. These are some of them:

let overlayController = DTOverlayController(viewController: viewController)

// View controller is automatically dismissed when you release your finger
overlayController.dismissableProgress = 0.4

// Enable/disable pan gesture
overlayController.isPanGestureEnabled = false

// Update top-left and top-right corner radius
overlayController.overlayViewCornerRadius = 10

// Control the height of the view controller
overlayController.overlayHeight = .dynamic(0.8) // 80% height of parent controller
overlayController.overlayHeight = .static(300) // fixed 300-point height
overlayController.overlayHeight = .inset(50) // fixed 50-point inset from top

You can check more of these configurations in the library. DTOverlayController will be further developed and new features will be coming in next releases. Feel free to contribute or suggest improvements by creating issues.

Requirements

  • iOS 9.0+

Installation

CocoaPods

Add the following line to your Podfile:

pod 'DTOverlayController'

Swift package manager

DTOverlayController is available for SPM from version 1.0.2. Add the following to the dependencies of your Package.swift:

.package(url: "https://github.com/tungvoduc/DTOverlayController", from: "1.0.x")

Author

Tung Vo, [email protected]

License

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

Feedbacks & requests

  • Open an issue if you find a bug, make a proposal or simply need some help.
  • You can also contact me via email.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].