PresentrType

public enum PresentrType

This the basic type for Presentr. Its job is to describe the ‘type’ of presentation. It basically describes the size and position of the presented view controller. If a new type is added we have to add its size and position to the included Size and Position methods, but also implement its exact sizing in the PresentrPresentationController class sizing/position methods.

  • Alert: This is a small 270 x 180 alert which is the same size as the default iOS alert.
  • Popup: This is a average/default size ‘popup’.
  • TopHalf: This takes up half of the screen, on the top side.
  • BottomHalf: This takes up half of the screen, on the bottom side.
  • Undocumented

    Declaration

    Swift

    public enum PresentrType
  • Undocumented

    Declaration

    Swift

    public enum PresentrType
  • Undocumented

    Declaration

    Swift

    public enum PresentrType
  • Undocumented

    Declaration

    Swift

    public enum PresentrType