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 calendarhasEventIndicator
is false, in which case the event indicator is not displayed in the calendarDeclaration
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 }