MUDateSliderCell
final public class MUDateSliderCell : UICollectionViewCell
Class that define the date slider cell.
-
The date slider cell identifier.
Declaration
Swift
internal static let identifer: String
-
Initializes and returns a newly allocated view object with the specified frame rectangle.
Declaration
Swift
override init(frame: CGRect) -
Returns an object initialized from data in a given unarchiver.
Declaration
Swift
required init?(coder aDecoder: NSCoder)
-
The selection state of the cell.
Declaration
Swift
override public var isSelected: Bool { get set } -
Hide / Show the cell marker.
Declaration
Swift
public func marker(show: Bool) -
Set the cell label text font.
Declaration
Swift
internal func set(dayFont: UIFont, numberFont: UIFont, monthFont: UIFont) -
Set the cell card corner radius.
Declaration
Swift
internal func set(radius: CGFloat) -
Set the border color and width for selected and unselected state.
Declaration
Swift
internal func set(selectedBorderColor: UIColor, selectedBorderWidth: CGFloat, unselectedBorderColor: UIColor, unselectedBorderWidth: CGFloat) -
Set the date day color for selected and unselected state.
Declaration
Swift
internal func set(selectedDayColor: UIColor, unselectedDayColor: UIColor) -
Set the date number color for selected and unselected state.
Declaration
Swift
internal func set(selectedNumberColor: UIColor, unselectedNumberColor: UIColor) -
Set the date month color for selected and unselected state.
Declaration
Swift
internal func set(selectedMonthColor: UIColor, unselectedMonthColor: UIColor) -
Set the date card background color for selected and unselected state.
Declaration
Swift
internal func set(selectedBackgroundColor: UIColor, unselectedBackgroundColor: UIColor) -
Set the date marker color and line height for selected and unselected state.
Declaration
Swift
internal func set(selectedMarkerColor: UIColor, unselectedMarkerColor: UIColor, markerLineHeight: CGFloat) -
Set the current selected date
Declaration
Swift
internal func set(date: Date)
View on GitHub
Install in Dash
MUDateSliderCell Class Reference