GTEasyLayout

public class GTEasyLayout

This class acts as a namespace to the various custom types defined for using along with the GTEasyLayoutAdaptable protocol.

Do not create instances of this class as it only contains definition of custom types.

  • Edge snapping cases which describe combinations regarding the position of a view into another view.

    See more

    Declaration

    Swift

    public enum SnapEdges
  • A programmatic representation of the four sides of a view.

    Values of this enumeration are handy to specify the side of a view when it’s necessary to update the padding.

    See more

    Declaration

    Swift

    public enum Side
  • A custom representation of the width and height dimensions.

    Cases of this enumeration are useful to specify a dimension value of a view.

    See more

    Declaration

    Swift

    public enum Dimension
  • It contains default animation settings which apply when constraints are being changed animated.

    By default a change to the padding or to a dimension constraint takes place animated using the predefined values specified into this structure.

    Create objects of this struct to disable animation by setting the duration to zero, or customize other animation properties. Custom initializers are provided.

    See more

    Declaration

    Swift

    public struct AnimationSettings