33 lines
672 B
Swift
33 lines
672 B
Swift
//
|
|
// BasicViewController.swift
|
|
// PanModal
|
|
//
|
|
// Created by Stephen Sowole on 2/26/19.
|
|
// Copyright © 2019 PanModal. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
|
|
class BasicViewController: UIViewController {
|
|
|
|
override func viewDidLoad() {
|
|
super.viewDidLoad()
|
|
view.backgroundColor = #colorLiteral(red: 0.1019607843, green: 0.1137254902, blue: 0.1294117647, alpha: 1)
|
|
}
|
|
}
|
|
|
|
extension BasicViewController: PanModalPresentable {
|
|
|
|
var panScrollable: UIScrollView? {
|
|
return nil
|
|
}
|
|
|
|
var longFormHeight: PanModalHeight {
|
|
return .maxHeightWithTopInset(200)
|
|
}
|
|
|
|
var anchorModalToLongForm: Bool {
|
|
return false
|
|
}
|
|
}
|