TimelineModel
struct TimelineModel
Undocumented
-
Undocumented
Declaration
Swift
var data: [TimelineGroup]
-
Undocumented
Declaration
Swift
var detailLevel: DetailLevel
-
Undocumented
Declaration
Swift
var mostRecentFirst: Bool
-
Undocumented
Declaration
Swift
var itemDateTimeResolver: (Item) -> Date?
-
Undocumented
Declaration
Swift
let calendarHelper: CalendarHelper
-
Undocumented
Declaration
Swift
init( dataItems: [Item], itemDateTimeResolver: @escaping ((Item) -> Date?), detailLevel: DetailLevel, mostRecentFirst: Bool )
-
Undocumented
Declaration
Swift
static func group( _ data: [Item], itemDateTimeResolver: (Item) -> Date?, level: TimelineModel.DetailLevel, mostRecentFirst: Bool, collapseByTypeWhereCountGreaterThan maxCount: Int = 2 ) -> [TimelineGroup]
-
Undocumented
Declaration
Swift
static func group( _ data: [Item], collapseByTypeWhereCountGreaterThan maxCount: Int = 2 ) -> [TimelineElement]
-
Undocumented
See moreDeclaration
Swift
enum DetailLevel : String, CaseIterable