Class
JTACYearView
open class JTACYearView: UICollectionView
Relationships
Conforms To
JTACCellMonthViewDelegate
UICollectionView
UICollectionViewDataSource
UICollectionViewDelegate
UICollectionViewDelegateFlowLayout
Properties
calendarDelegate
weak open var calendarDelegate: JTACYearViewDelegate?
The object that acts as the delegate of the calendar year view.
calendarDataSource
weak open var calendarDataSource: JTACYearViewDataSource?
ibCalendarDelegate
@IBOutlet public var ibCalendarDelegate: AnyObject?
Workaround for Xcode bug that prevents you from connecting the delegate in the storyboard. Remove this extra property once Xcode gets fixed.
ibCalendarDataSource
@IBOutlet public var ibCalendarDataSource: AnyObject?
Workaround for Xcode bug that prevents you from connecting the delegate in the storyboard. Remove this extra property once Xcode gets fixed.
Methods
collectionView(_:numberOfItemsInSection:)
public func collectionView(_ collectionView: UICollectionView, numberOfItemsInSection section: Int) -> Int
collectionView(_:cellForItemAt:)
public func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell
collectionView(_:layout:sizeForItemAt:)
public func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize
dequeueReusableJTAppleMonthCell(withReuseIdentifier:for:)
public func dequeueReusableJTAppleMonthCell(withReuseIdentifier identifier: String, for indexPath: IndexPath) -> JTACMonthCell
Dequeues a reuable calendar cell
dataSourcefrom(configurationParameters:)
open func dataSourcefrom(configurationParameters: ConfigurationParameters) -> [Any]
monthView(_:drawingFor:with:dateOwner:monthIndex:)
public func monthView(_ monthView: JTACCellMonthView, drawingFor segmentRect: CGRect, with date: Date, dateOwner: DateOwner, monthIndex: Int)