FUICalendarItemCollectionViewCell

public class FUICalendarItemCollectionViewCell : FUIBaseDrawingCalendarItemCollectionViewCell<FUICalendarItemView>

UICollectionViewCell subclass for FUICalendarView

Usage

// Example usage in FUICalendarViewDelegate
func  calendarView(_ calendarView: FUICalendarView, didDeselectDate date:Date, cell:FUICalendarItemCollectionViewCell ) {

   cell._innerView.eventView.isHidden = true

}

  • Specifies if the eventView is visible or not. Also returns false if the calendar hasEventIndicator is false, in which case the event indicator is not displayed in the calendar

    Declaration

    Swift

    open var isEventIndicatorVisible: Bool { get set }
  • The custom event view.

    The default is nil, meaning that the default event view is used.

    Declaration

    Swift

    open var customEventView: UIView? { get set }