HalfModal

  • A library for displaying viewController with HalfModal.

Demo

demo

Requirements

  • iOS 12
  • Xcode 12.5

Example

import Foundation
import UIKit
import HalfModal

final class FirstViewController: UIViewController, HalfModalPresenter {
    
    @IBAction func tap(_ sender: Any) {
        let vc = TableViewController()
        presentHalfModal(vc, animated: true, transitioningDelegate: .default, completion: nil)
    }
}

Installation

Swift Package Manager

https://github.com/askendiet/HalfModal.git

References

License

HalfModal is released under the MIT license. See LICENSE for details.

GitHub

https://github.com/askendiet/HalfModal