TKCalendarDayViewTimeLineLayoutAttributes Class Reference
Inherits from | UICollectionViewLayoutAttributes |
Declared in | TKCalendarDayViewTimeLine.h |
Overview
Manages the layout-related attributes for a time line item in a TKCalendarDayViewventsView collection view.
Properties
owner
The TKCalendarDayViewEventsView that contains the time line.
@property (nonatomic, weak, readonly) TKCalendarDayViewEventsView *owner
Declared In
TKCalendarDayViewTimeLine.h
Class Methods
layoutAttributesForDecorationViewOfKind:withIndexPath:withOwner:
Initializes a new instance of the TKCalendarDayViewTimeLineLayoutAttributes.
+ (instancetype)layoutAttributesForDecorationViewOfKind:(NSString *)decorationViewKind withIndexPath:(NSIndexPath *)indexPath withOwner:(TKCalendarDayViewEventsView *)owner
Parameters
- decorationViewKind
The identifier of the decoration view.
- indexPath
The index path of the decoration view.
- owner
The TKCalendarDayViewEventsView that contains the decoration view.
Declared In
TKCalendarDayViewTimeLine.h