Enumerations

The following enumerations are available globally.

  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, MMMScrollViewShadowAlignment) {
    	MMMScrollViewShadowAlignmentTop,
    	MMMScrollViewShadowAlignmentBottom
    }

    Swift

    enum MMMScrollViewShadowAlignment : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, MMMAnimationCurve) {
    
    	MMMAnimationCurveLinear,
    	MMMAnimationCurveEaseOut,
    	MMMAnimationCurveEaseIn,
    	MMMAnimationCurveEaseInOut,
    
    	// "Softer" versions are closer to the linear curve.
    	MMMAnimationCurveSofterEaseIn,
    	MMMAnimationCurveSofterEaseOut,
    	MMMAnimationCurveSofterEaseInOut,
    	
    	// Quad animations (e.g. https://easings.net/#easeInQuad)
    	MMMAnimationCurveEaseInQuad,
    	MMMAnimationCurveEaseOutQuad,
    	MMMAnimationCurveEaseInOutQuad,
    	
    	// Cubic animations (e.g. https://easings.net/#easeInCubic)
    	MMMAnimationCurveEaseInCubic,
    	MMMAnimationCurveEaseOutCubic,
    	MMMAnimationCurveEaseInOutCubic,
    	
    	// Quart animations (e.g. https://easings.net/#easeInQuart)
    	MMMAnimationCurveEaseInQuart,
    	MMMAnimationCurveEaseOutQuart,
    	MMMAnimationCurveEaseInOutQuart,
    	
    	// Quint animations (e.g. https://easings.net/#easeInQuint)
    	MMMAnimationCurveEaseInQuint,
    	MMMAnimationCurveEaseOutQuint,
    	MMMAnimationCurveEaseInOutQuint
    }

    Swift

    enum MMMAnimationCurve : Int, @unchecked Sendable
  • General alignment flags used when it’s not important which direction (vertical or horizontal) the alignment is for.

    See more

    Declaration

    Objective-C

    enum MMMLayoutAlignment : NSInteger {}

    Swift

    enum MMMLayoutAlignment : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, MMMLayoutDirection) {
    	MMMLayoutDirectionHorizontal,
    	MMMLayoutDirectionVertical
    }

    Swift

    enum MMMLayoutDirection : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, MMMLayoutHorizontalAlignment) {
    	MMMLayoutHorizontalAlignmentNone = MMMLayoutAlignmentNone,
    	MMMLayoutHorizontalAlignmentLeft = MMMLayoutAlignmentLeading,
    	MMMLayoutHorizontalAlignmentGolden = MMMLayoutAlignmentGolden,
    	MMMLayoutHorizontalAlignmentCenter = MMMLayoutAlignmentCenter,
    	MMMLayoutHorizontalAlignmentRight = MMMLayoutAlignmentTrailing,
    	MMMLayoutHorizontalAlignmentFill = MMMLayoutAlignmentFill
    }

    Swift

    enum MMMLayoutHorizontalAlignment : Int, @unchecked Sendable
  • Undocumented

    See more

    Declaration

    Objective-C

    NS_ENUM(NSInteger, MMMLayoutVerticalAlignment) {
    	MMMLayoutVerticalAlignmentNone = MMMLayoutAlignmentNone,
    	MMMLayoutVerticalAlignmentTop = MMMLayoutAlignmentLeading,
    	MMMLayoutVerticalAlignmentGolden = MMMLayoutAlignmentGolden,
    	MMMLayoutVerticalAlignmentCenter = MMMLayoutAlignmentCenter,
    	MMMLayoutVerticalAlignmentBottom = MMMLayoutAlignmentTrailing,
    	MMMLayoutVerticalAlignmentFill = MMMLayoutAlignmentFill
    }

    Swift

    enum MMMLayoutVerticalAlignment : Int, @unchecked Sendable