Skip to content

Instantly share code, notes, and snippets.

@edudnyk
Created October 1, 2021 02:53
Show Gist options
  • Save edudnyk/d6182d3d1d710234db27faa8a52f62e4 to your computer and use it in GitHub Desktop.
Save edudnyk/d6182d3d1d710234db27faa8a52f62e4 to your computer and use it in GitHub Desktop.
The snippet of the public interface provided by SheeKit
public struct UIViewControllerProxy {
public var modalTransitionStyle: UIModalTransitionStyle = .coverVertical
public var modalPresentationCapturesStatusBarAppearance = false
public var disablesAutomaticKeyboardDismissal: Bool?
public var edgesForExtendedLayout: UIRectEdge = .all
public var extendedLayoutIncludesOpaqueBars: Bool = false
public var preferredContentSize: CGSize = .zero
public var preferredStatusBarStyle: UIStatusBarStyle?
public var prefersStatusBarHidden: Bool?
public var preferredStatusBarUpdateAnimation: UIStatusBarAnimation?
public var isModalInPresentation: Bool = false
public var definesPresentationContext: Bool = false
public var providesPresentationContextTransitionStyle: Bool = false
public var restoresFocusAfterTransition: Bool = true
public var focusGroupIdentifier: String?
public var preferredScreenEdgesDeferringSystemGestures: UIRectEdge?
public var prefersPointerLocked: Bool?
public var prefersHomeIndicatorAutoHidden: Bool?
public init()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment