CalendarCollectionViewCell

class CalendarCollectionViewCell : UICollectionViewCell

Calendar collection view cell

  • Background style, for CalendarCollectionViewCell

    See more

    Declaration

    Swift

    enum Background
  • Identifier

    Declaration

    Swift

    static let identifier: String
  • Label

    Declaration

    Swift

    private let label: UILabel
  • Month label

    Declaration

    Swift

    private let monthLabel: UILabel
  • View

    Declaration

    Swift

    private let view: UIView
  • Circle view

    Declaration

    Swift

    private let circleView: UIView
  • Left border

    Declaration

    Swift

    private let leftBorder: UIView
  • Bottom border

    Declaration

    Swift

    private let botBorder: UIView
  • dot

    Dot view

    Declaration

    Swift

    private let dot: UIView
  • Weather icon view

    Declaration

    Swift

    private let weatherIconView: WeatherIconView
  • Separator view

    Declaration

    Swift

    private let separator: UIView
  • Undocumented

    Declaration

    Swift

    override var bounds: CGRect { get set }
  • Should show circle

    Declaration

    Swift

    var shouldShowCircle: Bool { get set }
  • Background

    Declaration

    Swift

    var background: CalendarCollectionViewCell.Background { get set }
  • Should draw left border

    Declaration

    Swift

    var shouldDrawLeftBorder: Bool { get set }
  • Should draw bottom border

    Declaration

    Swift

    var shouldDrawBotBorder: Bool { get set }
  • Month

    Declaration

    Swift

    var month: String { get set }
  • day

    Day

    Declaration

    Swift

    var day: String { get set }
  • Weather icon

    Declaration

    Swift

    var weatherIcon: String? { get set }
  • Undocumented

    Declaration

    Swift

    override func layoutSubviews()
  • Update left border

    Declaration

    Swift

    func updateLeftBorder()
  • Update bottom border

    Declaration

    Swift

    func updateBotBorder()
  • Number of events

    Declaration

    Swift

    var numEvents: Int { get set }
  • Update circle

    Declaration

    Swift

    func updateCircle()
  • Update background

    Declaration

    Swift

    func updateBackground()
  • Update labels

    Declaration

    Swift

    func updateLabels()
  • Update dot position

    Declaration

    Swift

    private func updateDotPosition()
  • Undocumented

    Declaration

    Swift

    override func awakeFromNib()
  • Update dot

    Declaration

    Swift

    private func updateDot()