Date and time caption

A localized date, time, or combined caption.

A localized date, time, or combined caption.

Public API

  • FDateTimeCaption
  • FDateTimeCaptionContent

Example

FDateTimeCaption(
    workout.date,
    content: .dateAndTime,
    dateFormat: .dayMonth,
    timeFormat: .hourMinute
)

Source

This reference follows Sources/FreakUI/Components/Content/FDateTimeCaption.swift. Component-specific configuration is documented under the public initializer, modifier, and supporting types in that source file.