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
MMMHorizontalPickerStyleDefaultSwift
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
MMMHorizontalPickerStylePagedSwift
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
MMMHorizontalPickerStyleUniformSwift
case uniform = 2
View on GitHub
MMMHorizontalPickerStyle Enumeration Reference