FUICalendarItemCollectionViewCell
@MainActor
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
eventViewis visible or not. Also returns false if the calendarhasEventIndicatoris false, in which case the event indicator is not displayed in the calendarDeclaration
Swift
@MainActor open var isEventIndicatorVisible: Bool { get set } -
The custom event view.
The default is
nil, meaning that the default event view is used.Declaration
Swift
@MainActor open var customEventView: UIView? { get set }