MMMHorizontalPickerStyle

Objective-C

NS_ENUM(NSInteger, MMMHorizontalPickerStyle) {

	/** In this mode all item views define their preferred width via Auto Layout. */
	MMMHorizontalPickerStyleDefault,

	/** In this mode the width of every item will be constrainted to the width of the picker adjusted to `contentInsets`. */
	MMMHorizontalPickerStylePaged,

	/** In this mode the width of every item will be constrainted to the width of the widest item adjusted to `contentInsets`. */
	MMMHorizontalPickerStyleUniform
}

Swift

enum MMMHorizontalPickerStyle : Int

Undocumented

  • In this mode all item views define their preferred width via Auto Layout.

    Declaration

    Objective-C

    MMMHorizontalPickerStyleDefault

    Swift

    case `default` = 0
  • In this mode the width of every item will be constrainted to the width of the picker adjusted to contentInsets.

    Declaration

    Objective-C

    MMMHorizontalPickerStylePaged

    Swift

    case paged = 1
  • In this mode the width of every item will be constrainted to the width of the widest item adjusted to contentInsets.

    Declaration

    Objective-C

    MMMHorizontalPickerStyleUniform

    Swift

    case uniform = 2