FUITimelinePreviewNode
public struct FUITimelinePreviewNode
FUITimelinePreviewNode is a variant of FUITimelineNode which defines framework-supplied images for various timeline node status values in FUITimelineCollectionViewCell.
Usage
let nodeImage = FUITimelinePreviewNode.open
or
let nodeImage = FUITimelinePreviewNode.generateOpenImage(useTintColor: useTintColor)
Theming
Supported style classes:
fdlFUITimelinePreviewNode
fdlFUITimelinePreviewNode_start_icon
fdlFUITimelinePreviewNode_open_icon
fdlFUITimelinePreviewNode_inProgress_icon
fdlFUITimelinePreviewNode_complete_icon
fdlFUITimelinePreviewNode_end_icon
-
Undocumented
Declaration
Swift
public static var defaultImage: UIImage { get } -
Property returning an image for
opentimeline node status. Typically used withTimelineCellDeclaration
Swift
public static var open: UIImage { get } -
Property returning an image for the
inProgresstimeline node status. This is typically used withTimelineCell.Declaration
Swift
public static var inProgress: UIImage { get } -
Property returning an image for
completetimeline node status. Typically used withTimelineCellDeclaration
Swift
public static var complete: UIImage { get } -
Property returning an image for
starttimeline node status. Typically used withFUITimelineMarkerCellDeclaration
Swift
public static var start: UIImage { get } -
Property returning an image for
endtimeline node status. Typically used withFUITimelineMarkerCellDeclaration
Swift
public static var end: UIImage { get } -
Undocumented
Declaration
Swift
public static func generateDefaultImage(useTintColor: Bool = true) -> UIImage -
Undocumented
Declaration
Swift
public static func generateCompleteImage(useTintColor: Bool = true) -> UIImage -
Undocumented
Declaration
Swift
public static func generateStartImage(useTintColor: Bool = true, version: FUITimeline.Version = .v2) -> UIImage -
Undocumented
Declaration
Swift
public static func generateInProgressImage(useTintColor: Bool = true) -> UIImage -
Undocumented
Declaration
Swift
public static func generateOpenImage(useTintColor: Bool = true) -> UIImage -
Undocumented
Declaration
Swift
public static func generateEndImage(useTintColor: Bool = true, version: FUITimeline.Version = .v2) -> UIImage