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
open
timeline node status. Typically used withTimelineCell
Declaration
Swift
public static var open: UIImage { get }
-
Property returning an image for the
inProgress
timeline node status. This is typically used withTimelineCell
.Declaration
Swift
public static var inProgress: UIImage { get }
-
Property returning an image for
complete
timeline node status. Typically used withTimelineCell
Declaration
Swift
public static var complete: UIImage { get }
-
Property returning an image for
start
timeline node status. Typically used withFUITimelineMarkerCell
Declaration
Swift
public static var start: UIImage { get }
-
Property returning an image for
end
timeline node status. Typically used withFUITimelineMarkerCell
Declaration
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